From eddf17c68274c3e8ecf86a13858243159ffe9714 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 23 Apr 2017 10:01:40 +0200 Subject: cmake/signal-protocol: shared lib, mark_as_advanced and others --- qlite/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'qlite') diff --git a/qlite/CMakeLists.txt b/qlite/CMakeLists.txt index 9ffce4ae..199f06df 100644 --- a/qlite/CMakeLists.txt +++ b/qlite/CMakeLists.txt @@ -25,17 +25,18 @@ GENERATE_HEADER qlite ) -add_definitions(${VALA_CFLAGS}) -add_library(qlite SHARED ${QLITE_VALA_C}) -target_link_libraries(qlite ${QLITE_PACKAGES}) -set_target_properties(qlite PROPERTIES VERSION 0.1 SOVERSION 0) - add_custom_target(qlite-vapi DEPENDS ${CMAKE_BINARY_DIR}/exports/qlite.vapi ${CMAKE_BINARY_DIR}/exports/qlite.deps ) +add_definitions(${VALA_CFLAGS}) +add_library(qlite SHARED ${QLITE_VALA_C}) +add_dependencies(qlite qlite-vapi) +target_link_libraries(qlite ${QLITE_PACKAGES}) +set_target_properties(qlite PROPERTIES VERSION 0.1 SOVERSION 0) + install(TARGETS qlite ${TARGET_INSTALL}) install(FILES ${CMAKE_BINARY_DIR}/exports/qlite.vapi ${CMAKE_BINARY_DIR}/exports/qlite.deps DESTINATION ${VAPI_INSTALL_DIR}) install(FILES ${CMAKE_BINARY_DIR}/exports/qlite.h DESTINATION ${INCLUDE_INSTALL_DIR}) -- cgit v1.2.3-70-g09d2