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.
This commit is contained in:
João Valverde 2021-07-16 15:30:11 +01:00 committed by Wireshark GitLab Utility
parent fa525649be
commit 3adfca384b
1 changed files with 1 additions and 1 deletions

View File

@ -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