tools/build_windows.bat
branch0.9.19
changeset 9090 9ceacd996ea0
parent 9068 3401390f03cf
child 9099 a2af0ef2b664
--- a/tools/build_windows.bat	Fri May 31 00:12:11 2013 +0400
+++ b/tools/build_windows.bat	Fri May 31 15:21:56 2013 +0200
@@ -40,7 +40,7 @@
 
 echo Running cmake...
 set ERRORLEVEL=
-cmake . -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="%CD%\misc\winutils\" -DPNG_LIBRARY="%CD%\misc\winutils\bin\libpng13.dll" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%"
+cmake . -G "MinGW Makefiles" -DPNG_LIBRARY="%CD%\misc\winutils\bin\libpng13.dll" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DCMAKE_PREFIX_PATH="%CD%\misc\winutils\" ::prefix should be last
 
 if %ERRORLEVEL% NEQ 0 goto exitpoint