mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-29 10:13:03 +02:00
13 lines
618 B
Diff
13 lines
618 B
Diff
# Fixes a compilation error when compiling liblzma in MSYS2.
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -204,7 +204,6 @@ if((MINGW OR CYGWIN) AND (
|
|
# in PACKAGE_NAME_DEFINITION works with gcc and clang too so we don't need
|
|
# 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}")
|
|
|
|
# Use octal because "Program Files" would become \x20F.
|