diff options
author | Brad King <brad.king@kitware.com> | 2003-08-06 14:42:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-06 14:42:51 (GMT) |
commit | ef2e6b88ea43a4c3a00069820d0e25070037b842 (patch) | |
tree | 7a6ada3f60e95b05baafd565916fa765e32f32d8 /Source/CMakeLists.txt | |
parent | 26fce5a402e8f17181af0b22d56bc65849e712be (diff) | |
download | CMake-ef2e6b88ea43a4c3a00069820d0e25070037b842.zip CMake-ef2e6b88ea43a4c3a00069820d0e25070037b842.tar.gz CMake-ef2e6b88ea43a4c3a00069820d0e25070037b842.tar.bz2 |
ENH: Install test is now enabled when CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/Tests/TestInstall/Prefix to keep test in one directory.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 346a087..80b8e6f 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -361,14 +361,14 @@ IF(BUILD_TESTING) ENDIF (APPLE) IF(UNIX) - IF("x${CMAKE_INSTALL_PREFIX}" MATCHES "^x${CMake_BINARY_DIR}/InstallTest$") + IF("x${CMAKE_INSTALL_PREFIX}" MATCHES "^x${CMake_BINARY_DIR}/Tests/TestInstall/Prefix$") CONFIGURE_FILE( ${CMake_SOURCE_DIR}/Tests/TestInstall.sh.in ${CMake_BINARY_DIR}/Tests/TestInstall/TestInstall.sh @ONLY IMMEDIATE ) ADD_TEST(Install /bin/sh ${CMake_BINARY_DIR}/Tests/TestInstall/TestInstall.sh) - ENDIF("x${CMAKE_INSTALL_PREFIX}" MATCHES "^x${CMake_BINARY_DIR}/InstallTest$") + ENDIF("x${CMAKE_INSTALL_PREFIX}" MATCHES "^x${CMake_BINARY_DIR}/Tests/TestInstall/Prefix$") ENDIF(UNIX) ENDIF(BUILD_TESTING) |