mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
pkg: centos8 has cmake not cmake3
This commit is contained in:
parent
fe4caa155b
commit
7f1c293588
@ -8,7 +8,7 @@ VERSION=$(cd "$SOURCE_DIR" && git describe --tags --abbrev=8 --dirty | tr - .)~u
|
|||||||
|
|
||||||
DOCKER_TAG=$(docker build -q - <<EOS
|
DOCKER_TAG=$(docker build -q - <<EOS
|
||||||
FROM centos:8
|
FROM centos:8
|
||||||
RUN dnf -y install rpm-build cmake make gcc-c++ wget sqlite-devel boost-devel zlib-devel
|
RUN dnf -y update && dnf -y install rpm-build cmake make gcc-c++ wget sqlite-devel boost-devel zlib-devel
|
||||||
EOS
|
EOS
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ tar xzf capnproto.tar.gz
|
|||||||
tar xzf rapidjson.tar.gz
|
tar xzf rapidjson.tar.gz
|
||||||
|
|
||||||
cd /build/capnproto-0.7.0/c++/
|
cd /build/capnproto-0.7.0/c++/
|
||||||
cmake3 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=off .
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user