# HG changeset patch # User sheepluva # Date 1370260055 -7200 # Node ID a2af0ef2b664a50a3d785607fd8f17fd90fda646 # Parent 4ae3dd71f5fa9464c43cb1a597ff55a48e2f974f if you use misuse labels as comments please at least keep in mind that labels cannot be used inline, within code blocks or with indentation! diff -r 4ae3dd71f5fa -r a2af0ef2b664 tools/build_windows.bat --- a/tools/build_windows.bat Mon Jun 03 10:04:01 2013 +0200 +++ b/tools/build_windows.bat Mon Jun 03 13:47:35 2013 +0200 @@ -40,7 +40,8 @@ echo Running cmake... set ERRORLEVEL= -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 +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