diff options
author | Marvin W <git@larma.de> | 2021-05-14 19:26:05 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-05-14 19:26:05 +0200 |
commit | 6399892bf2c53fc3701438c752718638baff8e27 (patch) | |
tree | f2d60570240109e5f65f1250807ce90812b484f2 /plugins/crypto-vala/CMakeLists.txt | |
parent | bec73ed3714fc89627392b1dfc74d1b919dbe355 (diff) | |
download | dino-6399892bf2c53fc3701438c752718638baff8e27.tar.gz dino-6399892bf2c53fc3701438c752718638baff8e27.zip |
Move crypto-vala to shared library
Diffstat (limited to 'plugins/crypto-vala/CMakeLists.txt')
-rw-r--r-- | plugins/crypto-vala/CMakeLists.txt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/crypto-vala/CMakeLists.txt b/plugins/crypto-vala/CMakeLists.txt deleted file mode 100644 index f615854c..00000000 --- a/plugins/crypto-vala/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -find_package(GCrypt REQUIRED) -find_package(Srtp2 REQUIRED) -find_packages(CRYPTO_VALA_PACKAGES REQUIRED - GLib - GObject - GIO -) - -vala_precompile(CRYPTO_VALA_C -SOURCES - "src/cipher.vala" - "src/cipher_converter.vala" - "src/error.vala" - "src/random.vala" - "src/srtp.vala" -CUSTOM_VAPIS - "${CMAKE_CURRENT_SOURCE_DIR}/vapi/gcrypt.vapi" - "${CMAKE_CURRENT_SOURCE_DIR}/vapi/libsrtp2.vapi" -PACKAGES - ${CRYPTO_VALA_PACKAGES} -GENERATE_VAPI - crypto-vala -GENERATE_HEADER - crypto-vala -) - -set(CFLAGS ${VALA_CFLAGS}) -add_definitions(${CFLAGS}) -add_library(crypto-vala STATIC ${CRYPTO_VALA_C}) -target_link_libraries(crypto-vala ${CRYPTO_VALA_PACKAGES} gcrypt libsrtp2) -set_property(TARGET crypto-vala PROPERTY POSITION_INDEPENDENT_CODE ON) - |