From 84ca62a3f4272f9c15b683aae7639c5b2a784ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Fri, 6 Oct 2023 00:00:03 +0000 Subject: [PATCH] [tools] Fix building with standalone or designer on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Géczi --- tools/unix/build_omim.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/unix/build_omim.sh b/tools/unix/build_omim.sh index 1c9394282f..e0be8d504f 100755 --- a/tools/unix/build_omim.sh +++ b/tools/unix/build_omim.sh @@ -95,6 +95,8 @@ if [ "$(uname -s)" == "Darwin" ]; then CMAKE_CONFIG="${CMAKE_CONFIG:-} -DCMAKE_C_COMPILER=/usr/local/bin/$GCC \ -DCMAKE_CXX_COMPILER=/usr/local/bin/$GPP" fi +elif [ "$(uname -s)" == "Linux" ]; then + PROCESSES=$(nproc) else [ -n "$OPT_DESIGNER" ] \ && echo "Designer tool is only supported on Linux or MacOS" && exit 2