diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-08-27 02:52:53 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-08-27 02:52:53 (GMT) |
commit | ad4f98f3cf20c3befa18979521736dc49b458a6c (patch) | |
tree | 77b0d21199657b547610ac8789f0a953d0195faa /Modules/CMakeBackwardCompatibilityCXX.cmake | |
parent | c9eaf38653dddaf31f082cdac4fe166a7f5fb96a (diff) | |
download | CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.zip CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.gz CMake-ad4f98f3cf20c3befa18979521736dc49b458a6c.tar.bz2 |
ENH: Cleanup. Use relative path to modules
Diffstat (limited to 'Modules/CMakeBackwardCompatibilityCXX.cmake')
-rw-r--r-- | Modules/CMakeBackwardCompatibilityCXX.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeBackwardCompatibilityCXX.cmake b/Modules/CMakeBackwardCompatibilityCXX.cmake index 7c4554e..79e6f03 100644 --- a/Modules/CMakeBackwardCompatibilityCXX.cmake +++ b/Modules/CMakeBackwardCompatibilityCXX.cmake @@ -2,7 +2,7 @@ IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) # check for some ANSI flags in the CXX compiler if it is not gnu IF(NOT CMAKE_COMPILER_IS_GNUCXX) - INCLUDE(${CMAKE_ROOT}/Modules/TestCXXAcceptsFlag.cmake) + INCLUDE(TestCXXAcceptsFlag) SET(CMAKE_TRY_ANSI_CXX_FLAGS "") IF(CMAKE_SYSTEM MATCHES "IRIX.*") SET(CMAKE_TRY_ANSI_CXX_FLAGS "-LANG:std") @@ -24,10 +24,10 @@ IF(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_CXX_FLAGS_SAVE ${CMAKE_CXX_FLAGS}) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") - INCLUDE(${CMAKE_ROOT}/Modules/TestForANSIStreamHeaders.cmake) - INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFileCXX.cmake) - INCLUDE(${CMAKE_ROOT}/Modules/TestForSTDNamespace.cmake) - INCLUDE(${CMAKE_ROOT}/Modules/TestForANSIForScope.cmake) + INCLUDE(TestForANSIStreamHeaders) + INCLUDE(CheckIncludeFileCXX) + INCLUDE(TestForSTDNamespace) + INCLUDE(TestForANSIForScope) CHECK_INCLUDE_FILE_CXX("sstream" CMAKE_HAS_ANSI_STRING_STREAM) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_SAVE}") IF(NOT CMAKE_HAS_ANSI_STRING_STREAM) |