Commit 420b1a63 authored by Sebastien Barre's avatar Sebastien Barre
Browse files

FIX: fix dummy lib name for Unix

parent b3647fe6
......@@ -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)
......
......@@ -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)
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment