You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
318 B

enable_language(C)
# Look for a source tree left by enable_language internal checks.
set(scratch ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeScratch)
file(GLOB_RECURSE remnants ${scratch}/TryCompile-*/CMakeLists.txt)
if(NOT remnants)
message(FATAL_ERROR "--debug-trycompile should leave the source behind")
endif()