diff options
-rw-r--r-- | Utilities/cmtar/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt index c570bc6..f3fed3f 100644 --- a/Utilities/cmtar/CMakeLists.txt +++ b/Utilities/cmtar/CMakeLists.txt @@ -255,11 +255,11 @@ int main () # get this from the source tree since it was not in the previous # version of cmake and cmake need to build cmake IF("${CMake_SOURCE_DIR}" STREQUAL "") - INCLUDE(CheckCSourceCompiles) + INCLUDE(CheckCSourceRuns) ELSE("${CMake_SOURCE_DIR}" STREQUAL "") - INCLUDE(${CMake_SOURCE_DIR}/Modules/CheckCSourceCompiles.cmake) + INCLUDE(${CMake_SOURCE_DIR}/Modules/CheckCSourceRuns.cmake) ENDIF("${CMake_SOURCE_DIR}" STREQUAL "") -CHECK_C_SOURCE_COMPILES("${CMAKE_MAKEDEV_SOURCE}" MAKEDEV_THREE_ARGS) +CHECK_C_SOURCE_RUNS("${CMAKE_MAKEDEV_SOURCE}" MAKEDEV_THREE_ARGS) #SET (MAKEDEV_THREE_ARGS 0) #SET (NEED_BASENAME 0) #SET (NEED_DIRNAME 0) |