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
95 B
CMake
4 lines
95 B
CMake
|
|
add_library(no_features empty.cpp)
|
|
target_compile_features(no_features PRIVATE cxx_constexpr)
|