tools/build_windows.bat
changeset 8734 ecb0a97100cf
parent 8068 b35427506169
child 8798 03d113d51062
child 9068 3401390f03cf
--- a/tools/build_windows.bat	Sun Mar 17 00:18:38 2013 +0400
+++ b/tools/build_windows.bat	Sat Mar 16 23:29:50 2013 +0100
@@ -39,7 +39,7 @@
 
 echo Running cmake...
 set ERRORLEVEL=
-cmake -G "MinGW Makefiles" -DPNG_LIBRARY="%CD%\misc\winutils\bin\libpng13.dll" . -DCMAKE_BUILD_TYPE=%BUILD_TYPE%
+cmake . -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="%CD%\misc\winutils\" -DPNG_LIBRARY="%CD%\misc\winutils\bin\libpng13.dll" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%"
 
 if %ERRORLEVEL% NEQ 0 goto exitpoint