mirror of
https://git.tukaani.org/xz.git
synced 2025-02-26 02:18:13 +00:00
CMake: Use \040 instead of \x20 for a space
This is for consistency with 4c81c9611f8b2e1ad65eb7fa166afc570c58607e 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.
|
# to worry how to pass different flags to windres and the C compiler.
|
||||||
# Keep the original PACKAGE_NAME intact for generation of liblzma.pc.
|
# Keep the original PACKAGE_NAME intact for generation of liblzma.pc.
|
||||||
string(APPEND CMAKE_RC_FLAGS " --use-temp-file")
|
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.
|
# Use octal because "Program Files" would become \x20F.
|
||||||
string(REPLACE " " "\\040" LOCALEDIR_DEFINITION
|
string(REPLACE " " "\\040" LOCALEDIR_DEFINITION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user