summaryrefslogtreecommitdiff
path: root/plugins/stats_tree
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r--plugins/stats_tree/CMakeLists.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/plugins/stats_tree/CMakeLists.txt b/plugins/stats_tree/CMakeLists.txt
index e8dfdae13c..dfe20daaa2 100644
--- a/plugins/stats_tree/CMakeLists.txt
+++ b/plugins/stats_tree/CMakeLists.txt
@@ -40,9 +40,18 @@ add_library(stats_tree ${LINK_MODE_MODULE}
${TAP_SRC}
plugin.rc
)
-set_target_properties(stats_tree PROPERTIES PREFIX "")
-set_target_properties(stats_tree PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
-set_target_properties(stats_tree PROPERTIES FOLDER "Plugins")
+
+set_target_properties(stats_tree PROPERTIES
+ PREFIX ""
+ LINK_FLAGS "${WS_LINK_FLAGS}"
+ FOLDER "Plugins"
+)
+
+if(ENABLE_APPLICATION_BUNDLE)
+ set_target_properties(stats_tree PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/run/Wireshark.app/Contents/PlugIns/wireshark
+ )
+endif()
target_link_libraries(stats_tree epan)