diff options
Diffstat (limited to 'Utilities/cmcurl/CMake/CheckCSourceRuns.cmake')
-rw-r--r-- | Utilities/cmcurl/CMake/CheckCSourceRuns.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMake/CheckCSourceRuns.cmake b/Utilities/cmcurl/CMake/CheckCSourceRuns.cmake index 3462d9b..e78a71c 100644 --- a/Utilities/cmcurl/CMake/CheckCSourceRuns.cmake +++ b/Utilities/cmcurl/CMake/CheckCSourceRuns.cmake @@ -44,7 +44,7 @@ MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR) SET(src "${src}\nint main() { ${SOURCE} ; return 0; }") SET(CMAKE_CONFIGURABLE_FILE_CONTENT "${src}") - CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CMake/CMakeConfigurableFile.in "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" IMMEDIATE) MESSAGE(STATUS "Performing Test ${message}") |