Skip to content

Commit 18bed45

Browse files
committed
Try harder to fix underlink, and use the dlt_daemon library if available to avoid code duplication
1 parent fa8559b commit 18bed45

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/daemon/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@ if (WITH_DLT_UNIT_TESTS)
9696
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
9797
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static
9898
COMPONENT base)
99+
100+
if(NOT WITH_LIB_NO_VERSION)
101+
if(WITH_LIB_SHORT_VERSION)
102+
set_target_properties(dlt_daemon PROPERTIES VERSION ${PROJECT_VERSION_MAJOR} SOVERSION ${PROJECT_VERSION_MAJOR})
103+
else()
104+
set_target_properties(dlt_daemon PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
105+
endif()
106+
endif()
107+
99108
endif(WITH_DLT_UNIT_TESTS)
100109

101110
INSTALL(FILES dlt.conf

0 commit comments

Comments
 (0)