From 1af78cb6e5bb63f70d004f415c7d27ee6fcae5af Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 26 Nov 2014 00:39:54 +0100 Subject: [PATCH] Replaced cmake wrapper with own options. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9e034a8..0aacd53 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ cmake="cmake" if [[ $1 == "windows" ]] then - cmake=x86_64-w64-mingw32-cmake + cmake="cmake -DCMAKE_SYSTEM_NAME='Windows' -DCMAKE_FIND_ROOT_PATH='/usr/x86_64-w64-mingw32' -DCMAKE_CXX_COMPILER='x86_64-w64-mingw32-g++' -DCMAKE_C_COMPILER='x86_64-w64-mingw32-gcc'" fi currentDir=$(pwd)