ENH: make cmake build with older versions of cmake
This commit is contained in:
parent
89fb18f548
commit
2350085120
|
@ -252,7 +252,9 @@ int main ()
|
||||||
return 0;
|
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)
|
CHECK_C_SOURCE_COMPILES("${CMAKE_MAKEDEV_SOURCE}" MAKEDEV_THREE_ARGS)
|
||||||
#SET (MAKEDEV_THREE_ARGS 0)
|
#SET (MAKEDEV_THREE_ARGS 0)
|
||||||
#SET (NEED_BASENAME 0)
|
#SET (NEED_BASENAME 0)
|
||||||
|
|
Loading…
Reference in New Issue