summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/RerunCMake.cmake
blob: 5a9f1d41daee9f41a871c5a5865eb40610b79c96 (plain)
1
2
3
4
5
6
7
message("Running CMake on RerunCMake") # write to stderr if cmake reruns
enable_language(C)
try_compile(res
  "${CMAKE_CURRENT_BINARY_DIR}"
  SOURCES "${CMAKE_CURRENT_BINARY_DIR}/TryCompileInput.c"
  )
message("${res}")