summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-08-03 17:41:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-08-03 17:41:52 (GMT)
commit831492a9d750db8981f758e276c7f648a07c46a9 (patch)
treecb155f2c108a78c4a6c8e65bb8076ddc424ddf6d /Utilities
parent61aa4afd1e0fffa5d6682ac7890cd8b726d47d3a (diff)
downloadCMake-831492a9d750db8981f758e276c7f648a07c46a9.zip
CMake-831492a9d750db8981f758e276c7f648a07c46a9.tar.gz
CMake-831492a9d750db8981f758e276c7f648a07c46a9.tar.bz2
ENH: change to a try run so that it will fail on the sun
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmtar/CMakeLists.txt6
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)