From: TimePath Date: Sat, 29 Jul 2017 11:32:02 +0000 (+1000) Subject: Update README (restore MSYS2 workaround) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=81a89a02d3bf962dbf07571b2953562d63460fec;p=xonotic%2Fnetradiant.git Update README (restore MSYS2 workaround) --- diff --git a/README.md b/README.md index 44436fd6..4adfb62d 100644 --- 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: