summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CheckCXXSourceRuns.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/CheckCXXSourceRuns.cmake')
-rw-r--r--Source/kwsys/CheckCXXSourceRuns.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/CheckCXXSourceRuns.cmake b/Source/kwsys/CheckCXXSourceRuns.cmake
index 14ebb43..7bcc873 100644
--- a/Source/kwsys/CheckCXXSourceRuns.cmake
+++ b/Source/kwsys/CheckCXXSourceRuns.cmake
@@ -30,7 +30,7 @@ MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT)
ENDIF(CMAKE_REQUIRED_INCLUDES)
SET(CMAKE_EMPTY_INPUT_FILE_CONTENT "${SOURCE}")
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/CMakeEmptyInputFile.in"
- "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.cxx")
+ "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.cxx" IMMEDIATE)
MESSAGE(STATUS "Performing Test ${COMMENT}")
TRY_RUN(${VAR} HAVE_${VAR}