diff --git a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt index 6bdd30ab17..0dbae9af6f 100644 --- a/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt +++ b/tests/auto/corelib/plugin/qlibrary/lib/CMakeLists.txt @@ -43,10 +43,10 @@ elseif (UNIX) $ "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.1.0.0" COMMAND ${CMAKE_COMMAND} -E create_symlink - "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.1.0.0" + "libmylib.so.1.0.0" "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.1" COMMAND ${CMAKE_COMMAND} -E create_symlink - "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.1.0.0" + "libmylib.so.1.0.0" "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so1" ) else() #Win32 diff --git a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt index e98b4ffa4c..7603f4f0cb 100644 --- a/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt +++ b/tests/auto/corelib/plugin/qlibrary/lib2/CMakeLists.txt @@ -48,15 +48,15 @@ if (UNIX) $ "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.2.0.0" COMMAND ${CMAKE_COMMAND} -E create_symlink - "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.2.0.0" + "libmylib.so.2.0.0" "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.2" COMMAND ${CMAKE_COMMAND} -E remove "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so" COMMAND ${CMAKE_COMMAND} -E create_symlink - "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.2.0.0" + "libmylib.so.2.0.0" "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so" COMMAND ${CMAKE_COMMAND} -E create_symlink - "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so.2.0.0" + "libmylib.so.2.0.0" "${CMAKE_CURRENT_BINARY_DIR}/../libmylib.so2" ) else() #Win32