From 96779de920fa5f308f29c35dce54d48e5d19b670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Thu, 18 Mar 2010 10:27:17 +0000 Subject: 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 --- plugins/tpg/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/tpg') 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} ) -- cgit v1.2.1