diff options
author | Marvin W <git@larma.de> | 2017-04-03 14:10:17 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-04-03 15:05:39 +0200 |
commit | 8248cfcbb25dc14c81bd9673c8b3642ce98ea495 (patch) | |
tree | 21ec03ad902b001c3e84c428a31e10f62ad18614 /libdino/CMakeLists.txt | |
parent | 22adbd38dca0868f0e10754314a3859bba0a7d87 (diff) | |
download | dino-8248cfcbb25dc14c81bd9673c8b3642ce98ea495.tar.gz dino-8248cfcbb25dc14c81bd9673c8b3642ce98ea495.zip |
Make FHS compliant, split RPMs, fix compilation on older GCCs
Diffstat (limited to 'libdino/CMakeLists.txt')
-rw-r--r-- | libdino/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/CMakeLists.txt b/libdino/CMakeLists.txt index 16454115..517ab945 100644 --- a/libdino/CMakeLists.txt +++ b/libdino/CMakeLists.txt @@ -54,11 +54,11 @@ GENERATE_HEADER dino ) -add_definitions(${VALA_CFLAGS}) +add_definitions(${VALA_CFLAGS} -DDINO_PLUGINS_SYSTEM_PLUGIN_DIR="${PLUGIN_INSTALL_DIR}" -DDINO_PLUGINS_SYSTEM_LIBDIR_NAME="${LIBDIR_NAME}") add_library(libdino SHARED ${LIBDINO_VALA_C}) add_dependencies(libdino xmpp-vala-vapi qlite-vapi) -target_link_libraries(libdino xmpp-vala qlite ${LIBDINO_PACKAGES} -lm) -set_target_properties(libdino PROPERTIES PREFIX "") +target_link_libraries(libdino xmpp-vala qlite ${LIBDINO_PACKAGES} m) +set_target_properties(libdino PROPERTIES PREFIX "" VERSION 0.0 SOVERSION 0) add_custom_target(dino-vapi DEPENDS |