diff options
author | Marvin W <git@larma.de> | 2017-04-23 10:01:40 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-04-26 21:48:53 +0200 |
commit | eddf17c68274c3e8ecf86a13858243159ffe9714 (patch) | |
tree | db92b3ea3ffd453a16df9e53d0b454d172b8c8f2 /qlite | |
parent | 3eb9aa0fa79ea9fcebb5f702f81c2e54aafdc8cc (diff) | |
download | dino-eddf17c68274c3e8ecf86a13858243159ffe9714.tar.gz dino-eddf17c68274c3e8ecf86a13858243159ffe9714.zip |
cmake/signal-protocol: shared lib, mark_as_advanced and others
Diffstat (limited to 'qlite')
-rw-r--r-- | qlite/CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
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}) |