blob: 169e639f5a1d793e4a8d3fb32fa424fda3ea8a13 (
plain)
1
2
3
4
5
6
7
|
foreach(test_language C CXX)
enable_language(${test_language})
if(DEFINED CMAKE_${test_language}_STANDARD_DEFAULT
AND NOT CMAKE_${test_language}_COMPILE_FEATURES)
message(FATAL_ERROR "Compile features not found for ${test_language}")
endif()
endforeach()
|