aboutsummaryrefslogtreecommitdiff
path: root/libdino/CMakeLists.txt
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-11 12:13:06 +0100
committerfiaxh <git@mx.ax.lt>2017-03-11 12:22:55 +0100
commit47ab19b3a06b6f96965482e4a33d443c2276c1d8 (patch)
treef6616e248a92b707269eda6a396c94180687dc45 /libdino/CMakeLists.txt
parent7bb6ff6250e7bfc1f5d8ee4cc5d49c7aaf5ac435 (diff)
downloaddino-47ab19b3a06b6f96965482e4a33d443c2276c1d8.tar.gz
dino-47ab19b3a06b6f96965482e4a33d443c2276c1d8.zip
UI to choose PGP key/disabled in account settings
Diffstat (limited to 'libdino/CMakeLists.txt')
-rw-r--r--libdino/CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/libdino/CMakeLists.txt b/libdino/CMakeLists.txt
index 92616eb2..6fc31050 100644
--- a/libdino/CMakeLists.txt
+++ b/libdino/CMakeLists.txt
@@ -128,8 +128,9 @@ SOURCES
src/ui/unified_window.vala
src/ui/util.vala
CUSTOM_VAPIS
- ${CMAKE_BINARY_DIR}/xmpp-vala/xmpp-vala.vapi
- ${CMAKE_BINARY_DIR}/qlite/qlite.vapi
+ "${CMAKE_BINARY_DIR}/xmpp-vala/xmpp-vala.vapi"
+ "${CMAKE_BINARY_DIR}/qlite/qlite.vapi"
+ "${CMAKE_BINARY_DIR}/gpgme-vala/gpgme.vapi"
PACKAGES
${LIBDINO_PACKAGES}
GENERATE_VAPI
@@ -144,11 +145,11 @@ OPTIONS
--thread
)
-set(CFLAGS ${VALA_CFLAGS} ${LIBDINO_CFLAGS} -I${CMAKE_BINARY_DIR}/xmpp-vala -I${CMAKE_BINARY_DIR}/qlite)
+set(CFLAGS ${VALA_CFLAGS} ${LIBDINO_CFLAGS} -I${CMAKE_BINARY_DIR}/xmpp-vala -I${CMAKE_BINARY_DIR}/qlite -I${CMAKE_BINARY_DIR}/gpgme-vala -I${CMAKE_SOURCE_DIR}/gpgme-vala/src)
add_definitions(${CFLAGS})
add_library(libdino SHARED ${LIBDINO_VALA_C} ${LIBDINO_GRESOURCES_TARGET})
-add_dependencies(libdino xmpp-vala-vapi qlite-vapi)
-target_link_libraries(libdino xmpp-vala qlite ${LIBDINO_LIBRARIES} -lm)
+add_dependencies(libdino xmpp-vala-vapi qlite-vapi gpgme-vapi)
+target_link_libraries(libdino xmpp-vala qlite gpgme-vala ${LIBDINO_LIBRARIES} -lm)
set_target_properties(libdino PROPERTIES PREFIX "")
add_custom_target(dino-vapi