diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-29 20:41:10 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-29 20:41:10 (GMT) |
commit | 420b1a63fe9946575ae8ee4cf9f3f8a8c87f57d2 (patch) | |
tree | 04f1a336c3f9be4ad627b68fa7d0920056676731 /Tests/ComplexRelativePaths | |
parent | b3647fe6d3b014dc41c9b1fb735f7a70a3e003d0 (diff) | |
download | CMake-420b1a63fe9946575ae8ee4cf9f3f8a8c87f57d2.zip CMake-420b1a63fe9946575ae8ee4cf9f3f8a8c87f57d2.tar.gz CMake-420b1a63fe9946575ae8ee4cf9f3f8a8c87f57d2.tar.bz2 |
FIX: fix dummy lib name for Unix
Diffstat (limited to 'Tests/ComplexRelativePaths')
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 8 |
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) |