From 097fac398470d15e9761a6441df5d47fa9a1ddfb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 25 Feb 2023 16:38:59 -0800 Subject: 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. --- utils/alsoft-config/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils') 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() -- cgit v1.2.3