aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/CMakeLists.txt
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-12 22:23:25 +0100
committerMarvin W <git@larma.de>2017-03-12 22:23:25 +0100
commit22c9c53b1db8b4ff6d49e5fa0406a96773c14d50 (patch)
tree319b5e32c0edaee29cde0be2228b97599262c1a4 /xmpp-vala/CMakeLists.txt
parentbd1f116b3a57b803e2be4dc92474937f1f824fe4 (diff)
downloaddino-22c9c53b1db8b4ff6d49e5fa0406a96773c14d50.tar.gz
dino-22c9c53b1db8b4ff6d49e5fa0406a96773c14d50.zip
Drop libuuid dependency, uuid generation is not that complicated...
Diffstat (limited to 'xmpp-vala/CMakeLists.txt')
-rw-r--r--xmpp-vala/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmpp-vala/CMakeLists.txt b/xmpp-vala/CMakeLists.txt
index d1c66726..426f7922 100644
--- a/xmpp-vala/CMakeLists.txt
+++ b/xmpp-vala/CMakeLists.txt
@@ -1,6 +1,5 @@
find_package(Vala REQUIRED)
find_package(PkgConfig REQUIRED)
-find_package(LIBUUID REQUIRED)
include(GlibCompileResourcesSupport)
include(${VALA_USE_FILE})
@@ -61,8 +60,6 @@ SOURCES
"src/module/xep/0280_message_carbons.vala"
"src/module/xep/0333_chat_markers.vala"
"src/module/xep/pixbuf_storage.vala"
-CUSTOM_VAPIS
- "${CMAKE_CURRENT_SOURCE_DIR}/vapi/uuid.vapi"
PACKAGES
${ENGINE_PACKAGES}
GENERATE_VAPI
@@ -75,10 +72,10 @@ OPTIONS
--thread
)
-set(CFLAGS ${VALA_CFLAGS} ${ENGINE_CFLAGS} ${GPGME_CFLAGS} ${LIBUUID_CFLAGS})
+set(CFLAGS ${VALA_CFLAGS} ${ENGINE_CFLAGS})
add_definitions(${CFLAGS})
add_library(xmpp-vala SHARED ${ENGINE_VALA_C})
-target_link_libraries(xmpp-vala ${ENGINE_LIBRARIES} ${GPGME_LIBRARIES} ${LIBUUID_LIBRARIES})
+target_link_libraries(xmpp-vala ${ENGINE_LIBRARIES})
add_custom_target(xmpp-vala-vapi
DEPENDS