From 6eff237c562720c6ff641228d60fbd29918c30c1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 29 Oct 2009 09:26:17 -0400 Subject: 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. --- Tests/OutDir/OutDir.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12