aboutsummaryrefslogtreecommitdiffstats
path: root/extcap
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-07-16 15:30:11 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-22 16:34:37 +0000
commit3adfca384be8e485f96a96d7bf7064ef0c225f32 (patch)
tree8893d240c6eca3373be8eafa63abac9259cfa8e6 /extcap
parentfa525649bea7ee6ec14958e123b386755d0518ac (diff)
MinGW-w64: Fix extcap build output path
Build output must not be placed in run/<config>/subdir. This should be done using CMAKE_GENERATOR_IS_MULTI_CONFIG instead of just MSVC but that wasn't working for me when I tried briefly.
Diffstat (limited to 'extcap')
-rw-r--r--extcap/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/CMakeLists.txt b/extcap/CMakeLists.txt
index bfac5c28ac..40d9512ef8 100644
--- a/extcap/CMakeLists.txt
+++ b/extcap/CMakeLists.txt
@@ -40,7 +40,7 @@ macro(set_extcap_executable_properties _executable)
set(PROGLIST ${PROGLIST} ${_executable})
- if(WIN32)
+ if(MSVC)
set_target_properties(${_executable} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/run/extcap
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/run/Debug/extcap