From 3236000e944556e32de8a28e340e68bae0d59f3f Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 14 Jan 2024 16:00:53 +0000 Subject: [PATCH] support cmake version less 3.13 (ubuntu focal) --- debian/rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index ed052d8..1667e41 100644 --- a/debian/rules +++ b/debian/rules @@ -46,8 +46,7 @@ endif build: [ -d $(BUILDDIR) ] || mkdir -p $(BUILDDIR) - cmake -B build -G Ninja $(CMAKE_ENVIRONMENT) -DCMAKE_INSTALL_PREFIX=../$(TARGET)/usr - cmake --build build --parallel $(shell nproc) + cd $(BUILDDIR); cmake -G Ninja $(CMAKE_ENVIRONMENT) -DCMAKE_INSTALL_PREFIX=../$(TARGET)/usr .. && ninja binary: $(eval DETERMINED_DEPS=$(FIND_DEPENDS))