diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e4880a88e..f5a7d55bd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -638,6 +638,7 @@ else () endif () if (OPENMW_CXX_FLAGS) + separate_arguments(OPENMW_CXX_FLAGS NATIVE_COMMAND "${OPENMW_CXX_FLAGS}") add_compile_options(${OPENMW_CXX_FLAGS}) endif()