diff options
author | Felix Herrmann <fherrmann@de.adit-jv.com> | 2019-07-15 15:55:02 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-09-13 08:49:53 +0900 |
commit | d79e2fff7c422219705a1dd45d5bd89672462bac (patch) | |
tree | 76242dff7cf7c0b32a8ce0c062e57e4dc381be76 /src | |
parent | ee7943c0fd408739b0c6313c679c3c9a2c3a23a0 (diff) | |
download | DLT-daemon-d79e2fff7c422219705a1dd45d5bd89672462bac.tar.gz |
cmake add component for libdlt.so
Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index c9a7784..e99cacc 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -48,7 +48,12 @@ target_link_libraries(dlt ${RT_LIBRARY} ${SOCKET_LIBRARY} ${CMAKE_THREAD_LIBS_IN set_target_properties(dlt PROPERTIES VERSION ${DLT_VERSION} SOVERSION ${DLT_MAJOR_VERSION}) install(TARGETS dlt - RUNTIME DESTINATION bin - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static + RUNTIME + DESTINATION bin + COMPONENT base + LIBRARY + DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT base + ARCHIVE + DESTINATION ${CMAKE_INSTALL_LIBDIR}/static COMPONENT base) |