aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-02-25 16:38:59 -0800
committerChris Robinson <[email protected]>2023-02-25 16:38:59 -0800
commit097fac398470d15e9761a6441df5d47fa9a1ddfb (patch)
tree23f9ce103ed056091bcfc216055d2cee14a9955e /utils
parentdbea4ac51d5b3b209411e3eaf5baa2f35d4557e8 (diff)
Set the C/C++ standard version properties manually
Setting it globally interferes with Oboe trying to use C++17 (when its built as a sub-project), which we don't require yet.
Diffstat (limited to 'utils')
-rw-r--r--utils/alsoft-config/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/alsoft-config/CMakeLists.txt b/utils/alsoft-config/CMakeLists.txt
index 65a70638..c6a46075 100644
--- a/utils/alsoft-config/CMakeLists.txt
+++ b/utils/alsoft-config/CMakeLists.txt
@@ -15,7 +15,8 @@ if(Qt5Widgets_FOUND)
target_link_libraries(alsoft-config Qt5::Widgets)
target_include_directories(alsoft-config PRIVATE "${alsoft-config_BINARY_DIR}"
"${OpenAL_BINARY_DIR}")
- set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
+ set_target_properties(alsoft-config PROPERTIES ${DEFAULT_TARGET_PROPS}
+ RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
if(TARGET build_version)
add_dependencies(alsoft-config build_version)
endif()