diff options
Diffstat (limited to 'plugins/m2m/CMakeLists.txt')
-rw-r--r-- | plugins/m2m/CMakeLists.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/plugins/m2m/CMakeLists.txt b/plugins/m2m/CMakeLists.txt index 4dda097b15..6a779b909b 100644 --- a/plugins/m2m/CMakeLists.txt +++ b/plugins/m2m/CMakeLists.txt @@ -56,9 +56,18 @@ add_library(m2m ${LINK_MODE_MODULE} ${PLUGIN_FILES} plugin.rc ) -set_target_properties(m2m PROPERTIES PREFIX "") -set_target_properties(m2m PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") -set_target_properties(m2m PROPERTIES FOLDER "Plugins") + +set_target_properties(m2m PROPERTIES + PREFIX "" + LINK_FLAGS "${WS_LINK_FLAGS}" + FOLDER "Plugins" +) + +if(ENABLE_APPLICATION_BUNDLE) + set_target_properties(m2m PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/run/Wireshark.app/Contents/PlugIns/wireshark + ) +endif() target_link_libraries(m2m epan) |