diff --git a/build_win32.cmd b/build_win32.cmd index 02c48246..8fb49b4a 100644 --- a/build_win32.cmd +++ b/build_win32.cmd @@ -5,12 +5,12 @@ echo BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY echo FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. echo. -SET PKTH_BaseDir=%1 -SET PATH=%PKTH_BaseDir%\qt\bin;%PKTH_BaseDir%\mingw32\bin;%PATH% +SET PATH=%POKERTH_WIN32_LIB_DIR%\qt\bin;%POKERTH_WIN32_LIB_DIR%\mingw32\bin;%PATH% SET QMAKESPEC=win32-g++ -SET QTDIR=%PKTH_BaseDir%\qt +SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release REM Add automatic packaging or copying here. mingw32-make distclean +