Skip to content

Commit e198a47

Browse files
committed
building: missed path export
1 parent 0f55a8d commit e198a47

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

BUILDING

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ the windows binary and create the correct makefiles:
4949

5050
mkdir build-win
5151
cd build-win
52-
cmake /path to mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake ..
52+
cmake -DCMAKE_TOOLCHAIN_FILE=/path to mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake ..
53+
54+
Before compiling we have to add the mxe/usr/bin directory to the PATH (so windres and makensis can be found):
55+
56+
export PATH=/path to mxe/usr/bin:$PATH
57+
58+
Now compile:
59+
5360
make
5461

5562
If additionaly want an NSIS install:

0 commit comments

Comments
 (0)