8d0b1ccac1
Users of the new target_compile_features command are expected to check the existence of the CMAKE_CXX_COMPILE_FEATURES variable before attempting to use it to require features.
4 lines
100 B
CMake
4 lines
100 B
CMake
|
|
add_library(no_features empty.cpp)
|
|
target_compile_features(no_features PRIVATE $<1:cxx_constexpr>)
|