Skip to content

Commit

Permalink
Merge pull request #526 from bmad-sim/invert_cmake_args
Browse files Browse the repository at this point in the history
Put ${CMAKE_ARGS} first, so that debug works on conda-forge
  • Loading branch information
DavidSagan committed Sep 30, 2023
2 parents 83b6239 + 7ebc23a commit 01413dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/mk-mkd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01413dd

Please sign in to comment.