CMake: Set a default output directory for log-based extcaps

This commit is contained in:
Gerald Combs 2022-12-21 18:37:05 -08:00
parent 369993d72c
commit bf17e3260e
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ macro(set_extcap_executable_properties _executable)
endmacro()
macro(set_extlog_executable_properties _executable)
set_target_properties(${_executable} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/run/extcap
)
if(ENABLE_APPLICATION_BUNDLE)
if(NOT CMAKE_CFG_INTDIR STREQUAL ".")
# Xcode