diff options
author | Marvin W <git@larma.de> | 2021-03-06 10:25:56 -0600 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-03-06 10:25:56 -0600 |
commit | 64237a83a45ab949e28bdb0221663ac918a2c5d2 (patch) | |
tree | 69f0dc5a94e7716daaaaf6d1b78abc207a3fad00 /plugins | |
parent | 9acb54df9254609f2fe4de83c9047d408412de28 (diff) | |
download | dino-64237a83a45ab949e28bdb0221663ac918a2c5d2.tar.gz dino-64237a83a45ab949e28bdb0221663ac918a2c5d2.zip |
CMake: Make STATIC explict where needed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/crypto-vala/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/gpgme-vala/CMakeLists.txt | 2 | ||||
-rw-r--r-- | plugins/signal-protocol/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/crypto-vala/CMakeLists.txt b/plugins/crypto-vala/CMakeLists.txt index 89f161b6..2c9f790a 100644 --- a/plugins/crypto-vala/CMakeLists.txt +++ b/plugins/crypto-vala/CMakeLists.txt @@ -22,7 +22,7 @@ GENERATE_HEADER set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src) add_definitions(${CFLAGS}) -add_library(crypto-vala ${CRYPTO_VALA_C}) +add_library(crypto-vala STATIC ${CRYPTO_VALA_C}) target_link_libraries(crypto-vala ${CRYPTO_VALA_PACKAGES} gcrypt) set_property(TARGET crypto-vala PROPERTY POSITION_INDEPENDENT_CODE ON) diff --git a/plugins/gpgme-vala/CMakeLists.txt b/plugins/gpgme-vala/CMakeLists.txt index ed1f57d0..5255bac4 100644 --- a/plugins/gpgme-vala/CMakeLists.txt +++ b/plugins/gpgme-vala/CMakeLists.txt @@ -45,7 +45,7 @@ DEPENDS set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src) add_definitions(${CFLAGS}) -add_library(gpgme-vala ${GPGME_VALA_C} src/gpgme_fix.c) +add_library(gpgme-vala STATIC ${GPGME_VALA_C} src/gpgme_fix.c) add_dependencies(gpgme-vala gpgme-vapi) target_link_libraries(gpgme-vala ${GPGME_VALA_PACKAGES} gpgme) set_property(TARGET gpgme-vala PROPERTY POSITION_INDEPENDENT_CODE ON) diff --git a/plugins/signal-protocol/CMakeLists.txt b/plugins/signal-protocol/CMakeLists.txt index 400de03c..ea7dc9bb 100644 --- a/plugins/signal-protocol/CMakeLists.txt +++ b/plugins/signal-protocol/CMakeLists.txt @@ -106,7 +106,7 @@ DEPENDS set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/libsignal-protocol-c/src -I${CMAKE_CURRENT_SOURCE_DIR}/src) add_definitions(${CFLAGS}) -add_library(signal-protocol-vala ${SIGNAL_PROTOCOL_VALA_C} ${CMAKE_CURRENT_SOURCE_DIR}/src/signal_helper.c) +add_library(signal-protocol-vala STATIC ${SIGNAL_PROTOCOL_VALA_C} ${CMAKE_CURRENT_SOURCE_DIR}/src/signal_helper.c) add_dependencies(signal-protocol-vala signal-protocol-vapi) target_link_libraries(signal-protocol-vala ${SIGNAL_PROTOCOL_PACKAGES} gcrypt signal-protocol-c m) set_property(TARGET signal-protocol-vala PROPERTY POSITION_INDEPENDENT_CODE ON) |