fix build on windows by adding missing archive name properties on libs
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 31 May 2023 13:45:09 +0000 (15:45 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Fri, 2 Jun 2023 08:24:35 +0000 (10:24 +0200)
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 <matthieu.gallien@nextcloud.com>
src/csync/CMakeLists.txt
src/libsync/CMakeLists.txt

index 5bdd5e5bf3b8ed3aa6f3cd2607edd02e29356b71..deb6c36a3fdb92ef5e9c4600b992b746cbe3888d 100644 (file)
@@ -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(
index ecf6a9125f14c3c94d6670bd86ad680e123db45f..fab99be586e3c9cdac5702d41b3a2be043210e7d 100644 (file)
@@ -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)