raspicam: fix problem in path to cmake.

This commit is contained in:
Pedro Gonçalves 2017-02-03 18:39:48 +00:00
parent 29358c9c3e
commit b17eeece35

View File

@ -22,7 +22,7 @@ configure()
{ {
LINKER_ADDED_FLAGS="-Wl,-rpath,${cfg_dir_rootfs}/usr/lib" LINKER_ADDED_FLAGS="-Wl,-rpath,${cfg_dir_rootfs}/usr/lib"
${cfg_dir_toolchain}/usr/local/bin/cmake \ ${cfg_dir_toolchain}${cfg_dir_toolchain}/bin/cmake \
-DCMAKE_SYSTEM_NAME="Linux" \ -DCMAKE_SYSTEM_NAME="Linux" \
-DCMAKE_SYSTEM_VERSION="1" \ -DCMAKE_SYSTEM_VERSION="1" \
-DCMAKE_FIND_ROOT_PATH="${cfg_dir_toolchain_sysroot}/usr ${cfg_dir_rootfs}/usr" \ -DCMAKE_FIND_ROOT_PATH="${cfg_dir_toolchain_sysroot}/usr ${cfg_dir_rootfs}/usr" \