forked from osmocom/wireshark
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:
parent
fa525649be
commit
3adfca384b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue