mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
linux-armv7: Add CMAKE_CROSSCOMPILING_EMULATOR.
This commit is contained in:
parent
a04f06eecc
commit
1e838b6cdf
@ -8,7 +8,9 @@ RUN echo "deb http://emdebian.org/tools/debian/ jessie main" >> /etc/apt/sources
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
crossbuild-essential-armhf \
|
||||
gfortran-arm-linux-gnueabihf
|
||||
gfortran-arm-linux-gnueabihf \
|
||||
qemu-user \
|
||||
qemu-user-static
|
||||
|
||||
WORKDIR /usr/src
|
||||
|
||||
|
@ -11,3 +11,5 @@ set(CMAKE_FIND_ROOT_PATH /usr/${cross_triple})
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
|
||||
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/bin/qemu-arm)
|
||||
|
Loading…
Reference in New Issue
Block a user