Commit e752139e authored by Rohit Yadav's avatar Rohit Yadav

CMake: Fix script variable and cross compilation.

Fixes #410, use supplied moc binary for Qt4.8 contrib.
parent fcc0d8c5
......@@ -11,6 +11,9 @@ Configure
mkdir win32 && cd win32
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake ..
Use -D flag to set cmake flags such as:
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake -DQT_MOC_EXECUTABLE=../contribs/tools/moc.exe ..
Build
-----
make
......
......@@ -2,7 +2,8 @@
QT4_FILE="qt4-4.8-win32-bin.tar.bz2"
QT4_URL="http://rohityadav.in/files/contribs/qt4-4.8-win32-bin.tar.bz2"
VLC_FILE="vlc-1.1.11-win32.7z"
VLC_VERSION_PREFIX="vlc-1.1.11"
VLC_FILE="${VLC_VERSION_PREFIX}-win32.7z"
VLC_URL="http://download.videolan.org/vlc/1.1.11/win32/${VLC_FILE}"
FREI0R_FILE="frei0r-plugins-1.2.1.tar.gz"
FREI0R_URL="http://www.piksel.no/frei0r/releases/frei0r-plugins-1.2.1.tar.gz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment