mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-21 22:44:23 +00:00
CMake: Make STATIC explict where needed
This commit is contained in:
parent
9acb54df92
commit
64237a83a4
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ GENERATE_HEADER
|
||||||
|
|
||||||
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_definitions(${CFLAGS})
|
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)
|
target_link_libraries(crypto-vala ${CRYPTO_VALA_PACKAGES} gcrypt)
|
||||||
set_property(TARGET crypto-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET crypto-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ DEPENDS
|
||||||
|
|
||||||
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_definitions(${CFLAGS})
|
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)
|
add_dependencies(gpgme-vala gpgme-vapi)
|
||||||
target_link_libraries(gpgme-vala ${GPGME_VALA_PACKAGES} gpgme)
|
target_link_libraries(gpgme-vala ${GPGME_VALA_PACKAGES} gpgme)
|
||||||
set_property(TARGET gpgme-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET gpgme-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
|
@ -106,7 +106,7 @@ DEPENDS
|
||||||
|
|
||||||
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/libsignal-protocol-c/src -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
set(CFLAGS ${VALA_CFLAGS} -I${CMAKE_CURRENT_SOURCE_DIR}/libsignal-protocol-c/src -I${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
add_definitions(${CFLAGS})
|
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)
|
add_dependencies(signal-protocol-vala signal-protocol-vapi)
|
||||||
target_link_libraries(signal-protocol-vala ${SIGNAL_PROTOCOL_PACKAGES} gcrypt signal-protocol-c m)
|
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)
|
set_property(TARGET signal-protocol-vala PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
Loading…
Reference in a new issue