]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Update README (restore MSYS2 workaround)
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 29 Jul 2017 11:32:02 +0000 (21:32 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 29 Jul 2017 11:32:02 +0000 (21:32 +1000)
README.md

index 44436fd6ae95f694940e761222c6366b31188a9e..4adfb62d66590cf471c6e7990df2f71bab573b4f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -64,6 +64,17 @@ This project uses the usual CMake workflow:
 
 `cmake -G "Unix Makefiles" -H . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -- -j$(nproc)`
 
+## MSYS2
+
+Under MSYS2, the mingw shell must be used with the following additional flags:
+
+```
+cmake -G "MSYS Makefiles" \
+    -DGTK2_GLIBCONFIG_INCLUDE_DIR=/mingw64/lib/glib-2.0/include \
+    -DGTK2_GDKCONFIG_INCLUDE_DIR=/mingw64/lib/gtk-2.0/include \
+    -H . -B build
+```
+
 ## More Compilation Details
 
 options: