aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/WiresharkPlugin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/WiresharkPlugin.cmake')
-rw-r--r--cmake/modules/WiresharkPlugin.cmake12
1 files changed, 2 insertions, 10 deletions
diff --git a/cmake/modules/WiresharkPlugin.cmake b/cmake/modules/WiresharkPlugin.cmake
index 23db9b30c7..0cf67debcd 100644
--- a/cmake/modules/WiresharkPlugin.cmake
+++ b/cmake/modules/WiresharkPlugin.cmake
@@ -40,17 +40,9 @@ macro(ADD_PLUGIN_LIBRARY _plugin _subfolder)
FOLDER "Plugins"
)
- if(ENABLE_APPLICATION_BUNDLE)
- set_target_properties(${_plugin} PROPERTIES
- LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR}/${_subfolder}
- )
- else()
- # Why don't we just write to ${PLUGIN_DIR}/${_subfolder}
- # everywhere?
- set_target_properties(${_plugin} PROPERTIES
- LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR}
+ set_target_properties(${_plugin} PROPERTIES
+ LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR}/${_subfolder}
)
-endif()
# Try to force output to ${PLUGIN_DIR} without the configuration
# type appended. Needed on Windows.