mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 11:40:23 +00:00
0dfe395e3c
Allow setting build properties based on the features available for a target. The availability of features is determined at generate-time by evaluating the link implementation. Ensure that the <LANG>_STANDARD determined while evaluating COMPILE_FEATURES in the link implementation is not lower than that provided by the INTERFACE of the link implementation. This is similar to handling of transitive properties such as POSITION_INDEPENDENT_CODE.
8 lines
423 B
Plaintext
8 lines
423 B
Plaintext
CMake Error in CMakeLists.txt:
|
|
The COMPILE_FEATURES property of target "empty1" was evaluated when
|
|
computing the link implementation, and the "CXX_STANDARD" was "98" for that
|
|
computation. Computing the COMPILE_FEATURES based on the link
|
|
implementation resulted in a higher "CXX_STANDARD" "11". This is not
|
|
permitted. The COMPILE_FEATURES may not both depend on and be depended on
|
|
by the link implementation.
|