summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-08-01 16:01:44 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2006-08-01 16:01:44 -0400
commit2350085120bd0b50cf9c61c4b073126735426cb7 (patch)
tree8bb8adf04a71df36139d2f29cd164fa114d805e1 /Utilities
parent89fb18f54894446270df5de761b8a91854817745 (diff)
downloadcmake-2350085120bd0b50cf9c61c4b073126735426cb7.tar.gz
ENH: make cmake build with older versions of cmake
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmtar/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt
index 39910a56a7..8a892bccf5 100644
--- a/Utilities/cmtar/CMakeLists.txt
+++ b/Utilities/cmtar/CMakeLists.txt
@@ -252,7 +252,9 @@ int main ()
return 0;
}
")
-INCLUDE(CheckCSourceCompiles)
+# get this from the source tree since it was not in the previous
+# version of cmake and cmake need to build cmake
+INCLUDE(${CMake_SOURCE_DIR}/Modules/CheckCSourceCompiles.cmake)
CHECK_C_SOURCE_COMPILES("${CMAKE_MAKEDEV_SOURCE}" MAKEDEV_THREE_ARGS)
#SET (MAKEDEV_THREE_ARGS 0)
#SET (NEED_BASENAME 0)