From 81a89a02d3bf962dbf07571b2953562d63460fec Mon Sep 17 00:00:00 2001 From: TimePath Date: Sat, 29 Jul 2017 21:32:02 +1000 Subject: [PATCH] Update README (restore MSYS2 workaround) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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: -- 2.39.2