summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 17:26:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 17:26:38 +0100
commitbcce813bf2fd537ee5c1582f58dcc5dbe8575711 (patch)
treef614c97aef077f3ff51ad8000bb449b0a14c27bc /CMakeLists.txt
parentff7a9978ad9c1e804d7f51f6055d3ca540efa57d (diff)
install opentrack-api
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0eb1b3c7..3084bdfd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -612,7 +612,7 @@ set_target_properties(opentrack PROPERTIES COMPILE_DEFINITIONS OPENTRACK_VERSION
set(OPENTRACK_COMMIT_VERSION \"${OPENTRACK__COMMIT}\")
configure_file("${CMAKE_SOURCE_DIR}/opentrack-version.h" "${CMAKE_BINARY_DIR}/opentrack-version.h" @ONLY NEWLINE_STYLE UNIX)
-add_library(opentrack-api ${opentrack-lib-c} ${opentrack-lib-h} ${opentrack-lib-moc})
+add_library(opentrack-api SHARED ${opentrack-lib-c} ${opentrack-lib-h} ${opentrack-lib-moc})
target_link_libraries(opentrack-api ${MY_QT_LIBS})
set_target_properties(opentrack PROPERTIES COMPILE_DEFINITIONS OPENTRACK_VERSION=\"${OPENTRACK__COMMIT}\")
@@ -692,6 +692,7 @@ install(TARGETS
opentrack-tracker-ht
opentrack-tracker-udp
opentrack
+ opentrack-api
RUNTIME DESTINATION .
LIBRARY DESTINATION .
NAMELINK_SKIP