From 2350085120bd0b50cf9c61c4b073126735426cb7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 1 Aug 2006 16:01:44 -0400 Subject: ENH: make cmake build with older versions of cmake --- Utilities/cmtar/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt index 39910a5..8a892bc 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) -- cgit v0.12