mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
COMP: Fix support for old CMake (2.0 and 2.2)
This commit is contained in:
parent
9408e16704
commit
77da3d9b79
2
Utilities/cmcurl/CMake/CMakeConfigurableFile.in
Normal file
2
Utilities/cmcurl/CMake/CMakeConfigurableFile.in
Normal file
@ -0,0 +1,2 @@
|
||||
@CMAKE_CONFIGURABLE_FILE_CONTENT@
|
||||
|
@ -44,7 +44,7 @@ MACRO(CHECK_C_SOURCE_COMPILES 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}")
|
||||
|
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user