From 8201f9b86bd32f5a4a76e30884f7b62634eef46b Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 6 Apr 2020 02:16:27 +0200 Subject: [PATCH] easy-builder: make it compatible with Ubuntu 18.04/CMake 3.10 on CMake 3.10i, options -S and -B were not supported yet --- easy-builder | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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[@]}" \ -- 2.39.2