mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03:00
Delay validation of the content as a feature if it contains a generator expression. It will be checked again at generate-time after evaluation.
4 lines
115 B
CMake
4 lines
115 B
CMake
|
|
add_library(somelib STATIC empty.cpp)
|
|
set_property(TARGET somelib PROPERTY COMPILE_FEATURES "$<1:not_a_feature>")
|