aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/giop
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2010-03-18 10:27:17 +0000
committerJörg Mayer <jmayer@loplof.de>2010-03-18 10:27:17 +0000
commit96779de920fa5f308f29c35dce54d48e5d19b670 (patch)
tree447b5cb2f49d91c4f87cd170ac0fe6f6b032117a /plugins/giop
parent1e0bcd0740f5c3f71a6e194d0f09deef0489d53d (diff)
cmake changes:
- Add checking for linker flags - Install plugins with the name including the Wireshark version. This will make it easier to find matching plugin versions if files get just copied over. svn path=/trunk/; revision=32231
Diffstat (limited to 'plugins/giop')
-rw-r--r--plugins/giop/CMakeLists.txt20
1 files changed, 12 insertions, 8 deletions
diff --git a/plugins/giop/CMakeLists.txt b/plugins/giop/CMakeLists.txt
index cc383af6f9..793ae621ed 100644
--- a/plugins/giop/CMakeLists.txt
+++ b/plugins/giop/CMakeLists.txt
@@ -57,12 +57,13 @@ add_library(cosnaming ${LINK_MODE_MODULE}
${COSNAMING_SRC}
)
set_target_properties(cosnaming PROPERTIES PREFIX "")
-#set_target_properties(cosnaming PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(cosnaming PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(cosnaming PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS})
target_link_libraries(cosnaming epan)
install(TARGETS cosnaming
- 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}
)
@@ -71,12 +72,13 @@ add_library(coseventcomm ${LINK_MODE_MODULE}
${COSEVENTCOMM_SRC}
)
set_target_properties(coseventcomm PROPERTIES PREFIX "")
-#set_target_properties(coseventcomm PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(coseventcomm PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(coseventcomm PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS})
target_link_libraries(coseventcomm epan)
install(TARGETS coseventcomm
- 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}
)
@@ -85,12 +87,13 @@ add_library(tango ${LINK_MODE_MODULE}
${TANGO_SRC}
)
set_target_properties(tango PROPERTIES PREFIX "")
-#set_target_properties(tango PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(tango PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(tango PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS})
target_link_libraries(tango epan)
install(TARGETS tango
- 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}
)
@@ -99,12 +102,13 @@ add_library(parlay ${LINK_MODE_MODULE}
${PARLAY_SRC}
)
set_target_properties(parlay PROPERTIES PREFIX "")
-#set_target_properties(parlay PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(parlay PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION})
+set_target_properties(parlay PROPERTIES LINK_FLAGS ${WS_LINK_FLAGS})
target_link_libraries(parlay epan)
install(TARGETS parlay
- 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}
)