From a46668394d5580af4d21b70ba4b42973ca1aa1cd Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 26 Dec 2020 15:22:15 +0100 Subject: [PATCH] Switch from qmake to cmake --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bc3802..8c065fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ FROM debian:buster AS builder RUN apt-get update -yqq && apt-get install -yqq \ ca-certificates \ build-essential \ + cmake \ pkg-config \ qt5-default \ - libqt5svg5* \ libboost-dev \ libasound2-dev \ libssl-dev \ @@ -33,9 +33,10 @@ RUN \ && git submodule init \ && git submodule update +WORKDIR /usr/src/murmur/build RUN \ - qmake -recursive main.pro CONFIG+="no-client no-g15 no-bonjour grpc" \ - && make release + cmake -Dclient=OFF -DCMAKE_BUILD_TYPE=Release -Dgrpc=ON .. \ + && make -j $(nproc) FROM debian:buster