From 7ebc23a08215896533767057119eb281bb1574c9 Mon Sep 17 00:00:00 2001 From: Christopher Mayes <31023527+ChristopherMayes@users.noreply.github.com> Date: Fri, 29 Sep 2023 16:30:29 -0700 Subject: [PATCH] Put ${CMAKE_ARGS} first, so that debug works on conda-forge --- util/mk-mkd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mk-mkd b/util/mk-mkd index 97237e20e9..70f289c068 100755 --- a/util/mk-mkd +++ b/util/mk-mkd @@ -166,7 +166,7 @@ case ${@} in ACC_CMAKE_ARGS=() fi - cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${CMAKE_ARGS} "${ACC_CMAKE_ARGS[@]}" .. || exit 1 + cmake ${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} "${ACC_CMAKE_ARGS[@]}" .. || exit 1 ${GMAKE} -j ${ACC_SET_GMAKE_JOBS} ${ACC_EXE_NAME} [ $? -eq 0 ] && func_display_build_time fi