1 2 3 4 5 6 7 8 9 10 11
mkdir -p build cd build QTDIR=/usr/lib${LIBDIRSUFFIX}/qt \ PATH=$QTDIR/bin:$PATH \ cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ ..