summaryrefslogtreecommitdiffstats
path: root/Tests/OutDir
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-29 13:26:17 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-29 13:26:17 (GMT)
commit6eff237c562720c6ff641228d60fbd29918c30c1 (patch)
treef10692f9ed386eefff914d8eaa75ff12a0a0cd02 /Tests/OutDir
parentd7a3277fb3131479ca90f6dcb02dfe59ff7e1dca (diff)
downloadCMake-6eff237c562720c6ff641228d60fbd29918c30c1.zip
CMake-6eff237c562720c6ff641228d60fbd29918c30c1.tar.gz
CMake-6eff237c562720c6ff641228d60fbd29918c30c1.tar.bz2
Fix OutDir test on HP, MinGW, and Cygwin
The commit "Test per-config OUTPUT_DIRECTORY properties" added this test with a find_library() call in a CMake script, which requires an explicit list of possible library prefixes and suffixes. This commit adds more suffixes to match the libraries built on HP, MinGW, and Cygwin.
Diffstat (limited to 'Tests/OutDir')
-rw-r--r--Tests/OutDir/OutDir.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/OutDir/OutDir.cmake b/Tests/OutDir/OutDir.cmake
index 3ca8470..e1e6b7f 100644
--- a/Tests/OutDir/OutDir.cmake
+++ b/Tests/OutDir/OutDir.cmake
@@ -1,5 +1,5 @@
set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
-set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".a" ".so" ".dylib")
+set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".a" ".so" ".sl" ".dylib" ".dll.a")
find_library(TESTC1_LIB
NAMES testc1 testc1_test_debug_postfix