mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
071f0d6f98
This was originally attempted by policy CMP0118, but its
implementation did not cover all intended use cases. We fixed its
documentation in commit 1dabbbb5e0 (CMP0118: Revise documentation to
describe actual behavior, 2024-03-20).
Add new policy CMP0163 to cover the remaining use cases. In particular,
make the `GENERATED` property visible to `get_property` calls in other
directories. In order to capture the original intention of CMP0118,
define CMP0163's NEW behavior to also imply CMP0118's NEW behavior.
Fixes: #25437
Fixes: #25058
5 lines
263 B
CMake
5 lines
263 B
CMake
cmake_minimum_required(VERSION 3.19) # Must be older than 3.20 in order to also not set CMP0118!
|
|
cmake_policy(SET CMP0115 NEW) # CMP0115 is correct here (for reducing error-output)!
|
|
project(${RunCMake_TEST} NONE)
|
|
include(${RunCMake_TEST}.cmake NO_POLICY_SCOPE)
|