From: Thomas Debesse Date: Mon, 21 Dec 2020 16:12:51 +0000 (+0100) Subject: easy-builder: also build builtins, make macos use builtin gtkglext X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=78879270047b0bebf410fa63b39d7271e67e1441;p=xonotic%2Fnetradiant.git easy-builder: also build builtins, make macos use builtin gtkglext --- diff --git a/easy-builder b/easy-builder index 82c08d90..845d2c7c 100755 --- a/easy-builder +++ b/easy-builder @@ -77,6 +77,12 @@ do fi done +case "$(uname -s)" in + 'Darwin') + cmake_user_opts[${#cmake_user_opts[@]}]='-DBUILTIN_GTKGLEXT=ON' + ;; +esac + set -x "${fetch_submodules_cmd[@]}" @@ -91,6 +97,12 @@ cmake \ "${cmake_user_opts[@]}" \ "${project_source_dir}" +cmake \ + --build "${build_dir}" \ + -- \ + -j"${job_count}" \ + 'builtins' + cmake \ --build "${build_dir}" \ -- \