because ${CMAKE_CXX_FLAGS_RELEASE} has two items, '-O3 -DNDEBUG'. When the custom command is executed, this somehow becomes "-O3\ -DNDEBUG" on the command line, and the presence of the stray backslash causes the compilation to fail with the message, "cc1plus: error: argument to '-O...
Description:I appreciate the docs here:https://dev.mysql.com/doc/refman/8.0/en/source-configuration-options.html#cmake-compiler-f... with respect to advice on changing the optimizer level. In my case I want a Release build that uses -O2 and -O3 will be used by default. But when I se...