Skip to content
Snippets Groups Projects
Commit 6da4b4ac authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

...

parent 05939e7c
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,11 @@ then ...@@ -87,6 +87,11 @@ then
DEFAULT_TARGET="windows" DEFAULT_TARGET="windows"
fi fi
if [ "$MACHINE" == "MinGw" ]
then
DEFAULT_TARGET="windows"
fi
echo "Host machin is $MACHINE" echo "Host machin is $MACHINE"
BUILD_TARGET="${TARGET:-$DEFAULT_TARGET}" BUILD_TARGET="${TARGET:-$DEFAULT_TARGET}"
......
...@@ -46,7 +46,7 @@ then ...@@ -46,7 +46,7 @@ then
else else
#cmake command #cmake command
#mxe install prefix if configured by mxe, need to change it #mxe install prefix if configured by mxe, need to change it
CMAKE=(cmake -G "MSYS Makefiles") CMAKE=(cmake -G "Unix Makefiles")
MAKE=(make) MAKE=(make)
echo "Windows target" echo "Windows target"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment