Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Fix escaping of quotes in response file
We put macros in a response file compile_time_defs.txt and pass it to the compiler. When contents of the response file get extracted, a macro like -DFOO=\"BAR\" gets unescaped into -DFOO="BAR" which sets FOO to BAR without quotes. To fix this, add a pair of single quotes around each macro, e.g. '-DFOO=\"BAR\"' in the response file which becomes one-level processed into -DFOO=\"BAR\".
- Loading branch information