mirror of https://git.tukaani.org/xz.git
CMake: Use \040 instead of \x20 for a space
This is for consistency with 4c81c9611f
where \040 has to be used because \0x20F gets interpret at three hex
digits. Octals escapes are never longer than three digits.
This commit is contained in:
parent
e8854b6bdc
commit
7422333819
|
@ -215,7 +215,7 @@ if((MINGW OR CYGWIN OR MSYS) AND (
|
|||
# to worry how to pass different flags to windres and the C compiler.
|
||||
# Keep the original PACKAGE_NAME intact for generation of liblzma.pc.
|
||||
string(APPEND CMAKE_RC_FLAGS " --use-temp-file")
|
||||
string(REPLACE " " "\\x20" PACKAGE_NAME_DEFINITION "${PACKAGE_NAME}")
|
||||
string(REPLACE " " "\\040" PACKAGE_NAME_DEFINITION "${PACKAGE_NAME}")
|
||||
|
||||
# Use octal because "Program Files" would become \x20F.
|
||||
string(REPLACE " " "\\040" LOCALEDIR_DEFINITION
|
||||
|
|
Loading…
Reference in New Issue