[tools] Fix building with standalone or designer on Linux

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
This commit is contained in:
Ferenc Géczi 2023-10-06 00:00:03 +00:00 committed by Alexander Borsuk
parent ee3803bc4c
commit 84ca62a3f4

View file

@ -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