diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-03 13:41:52 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-08-03 13:41:52 -0400 |
commit | 831492a9d750db8981f758e276c7f648a07c46a9 (patch) | |
tree | cb155f2c108a78c4a6c8e65bb8076ddc424ddf6d /Utilities/cmtar | |
parent | 61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a (diff) | |
download | cmake-831492a9d750db8981f758e276c7f648a07c46a9.tar.gz |
ENH: change to a try run so that it will fail on the sun
Diffstat (limited to 'Utilities/cmtar')
-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 c570bc64ee..f3fed3fa22 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) |