diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-02-12 14:13:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-02-12 14:13:31 (GMT) |
commit | 6223d6008587e1661e2f5aa34008bf473faf591e (patch) | |
tree | dfe54113db0aa047f28aba71c3939cdcbea7a4f6 /Tests | |
parent | 729e2a427a0bc3ac3867a80f1d9fdfb153868a52 (diff) | |
download | CMake-6223d6008587e1661e2f5aa34008bf473faf591e.zip CMake-6223d6008587e1661e2f5aa34008bf473faf591e.tar.gz CMake-6223d6008587e1661e2f5aa34008bf473faf591e.tar.bz2 |
Fix install test fail on mingw
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index e601af4..4a315a1 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -31,9 +31,9 @@ IF(STAGE2) SET(t1NAMES test1 test1${CMAKE_DEBUG_POSTFIX}) SET(t2NAMES test2 test2${CMAKE_DEBUG_POSTFIX}) - IF(WIN32 AND UNIX) + IF(CYGWIN OR MINGW) SET(LIBPATHS ${LIBPATHS} "${CMAKE_INSTALL_PREFIX}/bin") - ENDIF(WIN32 AND UNIX) + ENDIF(CYGWIN OR MINGW) MESSAGE("Search for library in: ${LIBPATHS}") FIND_LIBRARY(TEST1_LIBRARY NAMES ${t1NAMES} diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index e601af4..4a315a1 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -31,9 +31,9 @@ IF(STAGE2) SET(t1NAMES test1 test1${CMAKE_DEBUG_POSTFIX}) SET(t2NAMES test2 test2${CMAKE_DEBUG_POSTFIX}) - IF(WIN32 AND UNIX) + IF(CYGWIN OR MINGW) SET(LIBPATHS ${LIBPATHS} "${CMAKE_INSTALL_PREFIX}/bin") - ENDIF(WIN32 AND UNIX) + ENDIF(CYGWIN OR MINGW) MESSAGE("Search for library in: ${LIBPATHS}") FIND_LIBRARY(TEST1_LIBRARY NAMES ${t1NAMES} |