diff options
author | David Cole <david.cole@kitware.com> | 2010-10-19 19:53:16 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-10-19 19:53:16 (GMT) |
commit | b0fb2ad3e14adfee62d16439f509a65eee341f81 (patch) | |
tree | d09ffbb4d629f2764bbbedae5629b291ebaa8706 /Tests/CMakeTests/IncludeTest.cmake.in | |
parent | 915e5805d997eb748688a093519c8fa548118aa7 (diff) | |
parent | b01184022be821adc3fee277365d4f7bb6244ff2 (diff) | |
download | CMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.zip CMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.tar.gz CMake-b0fb2ad3e14adfee62d16439f509a65eee341f81.tar.bz2 |
Merge topic 'AddCMAKE_CURRENT_LIST_DIR'
b011840 Use absolute path to FindPackageHandleStandardArgs.cmake everywhere
41e4f1a Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE)
f9fc79c Remove trailing whitespace
Diffstat (limited to 'Tests/CMakeTests/IncludeTest.cmake.in')
-rw-r--r-- | Tests/CMakeTests/IncludeTest.cmake.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeTests/IncludeTest.cmake.in b/Tests/CMakeTests/IncludeTest.cmake.in index 01cec38..eca679b 100644 --- a/Tests/CMakeTests/IncludeTest.cmake.in +++ b/Tests/CMakeTests/IncludeTest.cmake.in @@ -35,3 +35,7 @@ if(NOT "${fileOne}" STREQUAL "${fileTwo}") message(FATAL_ERROR "Wrong CMake.cmake was included: \"${fileOne}\" expected \"${fileTwo}\"") endif(NOT "${fileOne}" STREQUAL "${fileTwo}") +# Check that CMAKE_CURRENT_LIST_DIR is working: +# Needs to be a file in the build tree, which is correct cmake script +# but doesn't do a lot, if possible only set() commands: +include(${CMAKE_CURRENT_LIST_DIR}/../../CTestCustom.cmake) |