Skip to content

Commit

Permalink
CI: Use non-deprecated forms of CMake options
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller authored and hellkite500 committed Apr 17, 2024
1 parent 0ce3ad6 commit 6ad6cd3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/ngen-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,14 @@ runs:
. .venv/bin/activate
[ ! -d "$BOOST_ROOT" ] && echo "Error: no Boost root found at $BOOST_ROOT" && exit 1
cmake -B ${{ inputs.build-dir }} \
-DBMI_C_LIB_ACTIVE:BOOL=${{ inputs.bmi_c }} \
-DNGEN_ACTIVATE_PYTHON:BOOL=${{ inputs.use_python }} \
-DUDUNITS_ACTIVE:BOOL=${{ inputs.use_udunits }} \
-DBMI_FORTRAN_ACTIVE:BOOL=${{ inputs.bmi_fortran }} \
-DNGEN_ACTIVATE_ROUTING:BOOL=${{ inputs.use_troute }} \
-DNETCDF_ACTIVE:BOOL=${{ inputs.use_netcdf }} \
-DNGEN_WITH_BMI_C:BOOL=${{ inputs.bmi_c }} \
-DNGEN_WITH_PYTHON:BOOL=${{ inputs.use_python }} \
-DNGEN_WITH_UDUNITS:BOOL=${{ inputs.use_udunits }} \
-DNGEN_WITH_BMI_FORTRAN:BOOL=${{ inputs.bmi_fortran }} \
-DNGEN_WITH_ROUTING:BOOL=${{ inputs.use_troute }} \
-DNGEN_WITH_NETCDF:BOOL=${{ inputs.use_netcdf }} \
-DNGEN_WITH_SQLITE:BOOL=${{ inputs.use_sqlite }} \
-DMPI_ACTIVE:BOOL=${{ inputs.use_mpi }} -S .
-DNGEN_WITH_MPI:BOOL=${{ inputs.use_mpi }} -S .
echo "build-dir=$(echo ${{ inputs.build-dir }})" >> $GITHUB_OUTPUT
shell: bash

Expand Down

0 comments on commit 6ad6cd3

Please sign in to comment.