aboutsummaryrefslogtreecommitdiff
path: root/plugins/ice
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2021-04-11 15:12:53 +0200
committerMarvin W <git@larma.de>2021-04-11 15:13:22 +0200
commit4edab3c8d63b327dcb48799e174a3e00192721ec (patch)
treef4393a6fe2d4dab0c0fe7ae866b20faf17730f37 /plugins/ice
parente9ff660537f7c00281395f8a001f7554e116efff (diff)
downloaddino-4edab3c8d63b327dcb48799e174a3e00192721ec.tar.gz
dino-4edab3c8d63b327dcb48799e174a3e00192721ec.zip
Fix custom vapi integration
Diffstat (limited to 'plugins/ice')
-rw-r--r--plugins/ice/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ice/CMakeLists.txt b/plugins/ice/CMakeLists.txt
index 392a202f..b18bfcc5 100644
--- a/plugins/ice/CMakeLists.txt
+++ b/plugins/ice/CMakeLists.txt
@@ -1,11 +1,11 @@
+find_package(Nice REQUIRED)
+find_package(GnuTLS REQUIRED)
find_packages(ICE_PACKAGES REQUIRED
Gee
GLib
GModule
- GnuTLS
GObject
GTK3
- Nice
)
vala_precompile(ICE_VALA_C
@@ -21,15 +21,15 @@ CUSTOM_VAPIS
${CMAKE_BINARY_DIR}/exports/dino.vapi
${CMAKE_BINARY_DIR}/exports/qlite.vapi
${CMAKE_BINARY_DIR}/exports/crypto-vala.vapi
+ ${CMAKE_CURRENT_SOURCE_DIR}/vapi/nice.vapi
+ ${CMAKE_CURRENT_SOURCE_DIR}/vapi/gnutls.vapi
PACKAGES
${ICE_PACKAGES}
-OPTIONS
- --vapidir=${CMAKE_CURRENT_SOURCE_DIR}/vapi
)
add_definitions(${VALA_CFLAGS} -DG_LOG_DOMAIN="ice")
add_library(ice SHARED ${ICE_VALA_C})
-target_link_libraries(ice libdino crypto-vala ${ICE_PACKAGES})
+target_link_libraries(ice libdino crypto-vala ${ICE_PACKAGES} nice gnutls)
set_target_properties(ice PROPERTIES PREFIX "")
set_target_properties(ice PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins/)