Skip to content

Commit

Permalink
Makefile fix for windows cross-compilation entry
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Jul 30, 2020
1 parent 0b836f8 commit a45f2d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ release-static-win64:
cd build/release && cmake -G "MSYS Makefiles" -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE="Release" -D BUILD_TAG="win-x64" -D CMAKE_TOOLCHAIN_FILE=${PWD}/cmake/64-bit-toolchain.cmake -D MSYS2_FOLDER=c:/msys64 ../.. && $(MAKE)

release-cross-win64:
cd contrib/depends && ${MAKE} -j4 HOST=x86_64-w64-mingw32
mkdir -p build/release
cd build/release && cmake -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE="Release" -D BUILD_TAG="win-x64" -D CMAKE_TOOLCHAIN_FILE=${PWD}/contrib/depends/x86_64-w64-mingw32/share/toolchain.cmake ../.. && ${MAKE}

Expand Down

0 comments on commit a45f2d0

Please sign in to comment.