From 47a7a267ea5f9d369fe9d524b4224f92f45471f4 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Wed, 31 May 2023 15:45:09 +0200 Subject: [PATCH] fix build on windows by adding missing archive name properties on libs the archive output name is used on windows but was never set for 2 libraries with this they will have a proper name matching other components of the shared library Signed-off-by: Matthieu Gallien --- src/csync/CMakeLists.txt | 2 ++ src/libsync/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/csync/CMakeLists.txt b/src/csync/CMakeLists.txt index 5bdd5e5bf..deb6c36a3 100644 --- a/src/csync/CMakeLists.txt +++ b/src/csync/CMakeLists.txt @@ -117,6 +117,8 @@ set_target_properties( ${APPLICATION_EXECUTABLE}_csync RUNTIME_OUTPUT_NAME ${APPLICATION_EXECUTABLE}_csync + ARCHIVE_OUTPUT_NAME + ${APPLICATION_EXECUTABLE}_csync ) if(BUILD_OWNCLOUD_OSX_BUNDLE) INSTALL( diff --git a/src/libsync/CMakeLists.txt b/src/libsync/CMakeLists.txt index ecf6a9125..fab99be58 100644 --- a/src/libsync/CMakeLists.txt +++ b/src/libsync/CMakeLists.txt @@ -220,6 +220,8 @@ set_target_properties( ${APPLICATION_EXECUTABLE}sync RUNTIME_OUTPUT_NAME ${APPLICATION_EXECUTABLE}sync + ARCHIVE_OUTPUT_NAME + ${APPLICATION_EXECUTABLE}sync ) if(NOT BUILD_OWNCLOUD_OSX_BUNDLE)