mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
Restore previous interpretation of OPENMW_CXX_FLAGS
It used to be copied as-is into the command-line options for the compiler, whereas add_compile_options expects a list of arguments. separate_arguments can be used to split a string how the system would split a command line.
This commit is contained in:
parent
da32ccee50
commit
c253590338
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user