summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/ConfigureLog.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_compile/ConfigureLog.cmake')
-rw-r--r--Tests/RunCMake/try_compile/ConfigureLog.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/ConfigureLog.cmake b/Tests/RunCMake/try_compile/ConfigureLog.cmake
index 511ade9..294e0f9 100644
--- a/Tests/RunCMake/try_compile/ConfigureLog.cmake
+++ b/Tests/RunCMake/try_compile/ConfigureLog.cmake
@@ -10,7 +10,16 @@ try_compile(COMPILE_RESULT
NO_LOG
)
+message(CHECK_START "Check 1")
+message(CHECK_START "Check 2")
try_compile(COMPILE_RESULT
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureLog-test.c
LOG_DESCRIPTION "Source that should compile."
)
+if (COMPILE_RESULT)
+ message(CHECK_PASS "passed")
+ message(CHECK_PASS "passed")
+else()
+ message(CHECK_FAIL "failed")
+ message(CHECK_FAIL "failed")
+endif()