summaryrefslogtreecommitdiff
path: root/plugins/tpg
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tpg')
-rw-r--r--plugins/tpg/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/tpg/CMakeLists.txt b/plugins/tpg/CMakeLists.txt
index 68086a0abd..a2bf906daa 100644
--- a/plugins/tpg/CMakeLists.txt
+++ b/plugins/tpg/CMakeLists.txt
@@ -74,12 +74,13 @@ add_library(tpg ${LINK_MODE_MODULE}
${PLUGIN_FILES}
)
set_target_properties(tpg PROPERTIES PREFIX "")
-#set_target_properties(tpg PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(tpg PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(tpg PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS})
target_link_libraries(tpg epan)
install(TARGETS tpg
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION} NAMELINK_SKIP
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
)