summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexRelativePaths
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexRelativePaths')
-rw-r--r--Tests/ComplexRelativePaths/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt
index 1c317d5..41098aa 100644
--- a/Tests/ComplexRelativePaths/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/CMakeLists.txt
@@ -81,10 +81,14 @@ MAKE_DIRECTORY("${Complex_BINARY_DIR}/make_dir")
# Test FIND_LIBARY
# Create a dummy empty lib
#
-FOREACH (ext "${CMAKE_SHLIB_SUFFIX};.lib;.so")
+CONFIGURE_FILE(
+ ${Complex_SOURCE_DIR}/Library/dummy
+ ${Complex_BINARY_DIR}/Library/dummylib.lib
+ COPYONLY IMMEDIATE)
+FOREACH (ext "${CMAKE_SHLIB_SUFFIX};.so;.a;.sl")
CONFIGURE_FILE(
${Complex_SOURCE_DIR}/Library/dummy
- ${Complex_BINARY_DIR}/Library/dummylib${ext}
+ ${Complex_BINARY_DIR}/Library/libdummylib${ext}
COPYONLY IMMEDIATE)
ENDFOREACH (ext)