From: Thomas Debesse Date: Mon, 6 Apr 2020 00:16:27 +0000 (+0200) Subject: easy-builder: make it compatible with Ubuntu 18.04/CMake 3.10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8201f9b86bd32f5a4a76e30884f7b62634eef46b;p=xonotic%2Fnetradiant.git easy-builder: make it compatible with Ubuntu 18.04/CMake 3.10 on CMake 3.10i, options -S and -B were not supported yet --- diff --git a/easy-builder b/easy-builder index 39857382..82c08d90 100755 --- a/easy-builder +++ b/easy-builder @@ -81,10 +81,11 @@ set -x "${fetch_submodules_cmd[@]}" +mkdir -pv "${build_dir}" +cd "${build_dir}" + cmake \ -G'Unix Makefiles' \ - -S"${project_source_dir}" \ - -B"${build_dir}" \ -D'CMAKE_INSTALL_PREFIX'="${install_dir}" \ -D'CMAKE_BUILD_TYPE'="${build_type}" \ "${cmake_user_opts[@]}" \