summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeBackwardCompatibilityC.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-08-27 02:52:53 (GMT)
commitad4f98f3cf20c3befa18979521736dc49b458a6c (patch)
tree77b0d21199657b547610ac8789f0a953d0195faa /Modules/CMakeBackwardCompatibilityC.cmake
parentc9eaf38653dddaf31f082cdac4fe166a7f5fb96a (diff)
downloadCMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.zip
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.gz
CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.bz2
ENH: Cleanup. Use relative path to modules
Diffstat (limited to 'Modules/CMakeBackwardCompatibilityC.cmake')
-rw-r--r--Modules/CMakeBackwardCompatibilityC.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/CMakeBackwardCompatibilityC.cmake b/Modules/CMakeBackwardCompatibilityC.cmake
index 80656e2..c9dbce1 100644
--- a/Modules/CMakeBackwardCompatibilityC.cmake
+++ b/Modules/CMakeBackwardCompatibilityC.cmake
@@ -1,15 +1,15 @@
# Nothing here yet
IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
- INCLUDE(${CMAKE_ROOT}/Modules/CMakeVS7BackwardCompatibility.cmake)
+ INCLUDE(CMakeVS7BackwardCompatibility)
SET(CMAKE_SKIP_COMPATIBILITY_TESTS 1)
ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
IF(CMAKE_GENERATOR MATCHES "Visual Studio 6")
- INCLUDE(${CMAKE_ROOT}/Modules/CMakeVS6BackwardCompatibility.cmake)
+ INCLUDE(CMakeVS6BackwardCompatibility)
SET(CMAKE_SKIP_COMPATIBILITY_TESTS 1)
ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 6")
IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
- INCLUDE (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
+ INCLUDE (CheckTypeSize)
CHECK_TYPE_SIZE(int CMAKE_SIZEOF_INT)
CHECK_TYPE_SIZE(long CMAKE_SIZEOF_LONG)
CHECK_TYPE_SIZE("void*" CMAKE_SIZEOF_VOID_P)
@@ -18,15 +18,15 @@ IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
CHECK_TYPE_SIZE(float CMAKE_SIZEOF_FLOAT)
CHECK_TYPE_SIZE(double CMAKE_SIZEOF_DOUBLE)
- INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
+ INCLUDE (CheckIncludeFile)
CHECK_INCLUDE_FILE("limits.h" CMAKE_HAVE_LIMITS_H)
CHECK_INCLUDE_FILE("unistd.h" CMAKE_HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("sys/prctl.h" CMAKE_HAVE_SYS_PRCTL_H)
CHECK_INCLUDE_FILE("pthread.h" CMAKE_HAVE_PTHREAD_H)
- INCLUDE (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
+ INCLUDE (TestBigEndian)
TEST_BIG_ENDIAN(CMAKE_WORDS_BIGENDIAN)
- INCLUDE (${CMAKE_ROOT}/Modules/FindX11.cmake)
+ INCLUDE (FindX11)
IF("${X11_X11_INCLUDE_PATH}" MATCHES "^/usr/include$")
SET (CMAKE_X_CFLAGS "" CACHE STRING "X11 extra flags.")
@@ -38,7 +38,7 @@ IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS)
"Libraries and options used in X11 programs.")
SET (CMAKE_HAS_X "${X11_FOUND}" CACHE INTERNAL "Is X11 around.")
- INCLUDE (${CMAKE_ROOT}/Modules/FindThreads.cmake)
+ INCLUDE (FindThreads)
SET (CMAKE_THREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}" CACHE STRING
"Thread library used.")