Merge pull request #296 from dkurt/patch-1
Do not build CMake from source
This commit is contained in:
commit
949b74059f
@ -198,6 +198,7 @@ with the following content:
|
|||||||
crossbuild-essential-armhf \
|
crossbuild-essential-armhf \
|
||||||
git \
|
git \
|
||||||
wget \
|
wget \
|
||||||
|
cmake \
|
||||||
libusb-1.0-0-dev:armhf \
|
libusb-1.0-0-dev:armhf \
|
||||||
libgtk-3-dev:armhf \
|
libgtk-3-dev:armhf \
|
||||||
libavcodec-dev:armhf \
|
libavcodec-dev:armhf \
|
||||||
@ -207,12 +208,6 @@ with the following content:
|
|||||||
libgstreamer-plugins-base1.0-dev:armhf \
|
libgstreamer-plugins-base1.0-dev:armhf \
|
||||||
libpython3-dev:armhf \
|
libpython3-dev:armhf \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
|
||||||
RUN wget https://www.cmake.org/files/v3.14/cmake-3.14.3.tar.gz && \
|
|
||||||
tar xf cmake-3.14.3.tar.gz && \
|
|
||||||
(cd cmake-3.14.3 && ./bootstrap --parallel=$(nproc --all) && make --jobs=$(nproc --all) && make install) && \
|
|
||||||
rm -rf cmake-3.14.3 cmake-3.14.3.tar.gz
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
It uses the Debian\* Stretch (Debian 9) OS for compilation because it is a base of the Raspbian\* Stretch.
|
It uses the Debian\* Stretch (Debian 9) OS for compilation because it is a base of the Raspbian\* Stretch.
|
||||||
|
Loading…
Reference in New Issue
Block a user