From: Matthieu Gallien Date: Wed, 31 May 2023 13:45:09 +0000 (+0200) Subject: fix build on windows by adding missing archive name properties on libs X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~21^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e703b4c5ebac3730be9219231f9b6cd0fc6eb4f3;p=nextcloud-desktop.git 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 --- 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)