CMAKE_LIBRARY_PATH='/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf'
export CMAKE_LIBRARY_PATH
cmake -DCMAKE_INSTALL_PREFIX=/opt/freerdp2 -DCMAKE_INSTALL_LIBDIR=lib \
	-DCMAKE_SKIP_RPATH=ON -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_SHARED_LINKER_FLAGS='-Wl,-rpath -Wl,/opt/freerdp2/lib' \
	-DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath -Wl,/opt/freerdp2/lib' \
	-DWITH_PULSE=ON -DWITH_CUPS=ON -DWITH_PCSC=ON -DWITH_JPEG=OFF \
	-DWITH_X264=OFF -DWITH_GSM=ON -DWITH_LAME=ON \
	-DCHANNEL_URBDRC_CLIENT=ON -DWITH_FFMPEG=ON -DWITH_CAIRO=ON \
	-DWITH_SSE2=OFF -DWITH_NEON=ON -DWITH_GSTREAMER_1_0=OFF \
	-DWITH_WAYLAND=OFF -DWITH_OSS=OFF -DWITH_GSSAPI=OFF .
