Skip to content

Commit

Permalink
Merge pull request #22 from mvhulten/no-clean-oasis
Browse files Browse the repository at this point in the history
Do not clean OASIS when not asked for
  • Loading branch information
mvhulten authored Jun 5, 2024
2 parents 80b9416 + d997b74 commit b0f85c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/BuildOASIS3MCT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ ExternalProject_Add(OASIS3_MCT
SOURCE_DIR ${OASIS_SRC}
BUILD_IN_SOURCE FALSE
CONFIGURE_COMMAND ""
BUILD_COMMAND make -f ${OASIS_SRC}/util/make_dir/TopMakefileOasis3 realclean static-libs -C ${OASIS_BLD_DIR}
BUILD_COMMAND make -f ${OASIS_SRC}/util/make_dir/TopMakefileOasis3 static-libs -C ${OASIS_BLD_DIR}
INSTALL_COMMAND ""
)

set(OASIS_ROOT ${OASIS_INSTALL_PREFIX} CACHE PATH "Full path to the root directory containing OASIS3-MCT include files and libraries.")
set(OASIS_LIBRARIES "-L${OASIS_ROOT}/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip" CACHE STRING "OASIS3-MCT linker options")
get_model_version(${OASIS_SRC} OASIS_VERSION)
list(APPEND eTSMP_MODEL_VERSIONS "OASIS3-MCT: ${OASIS_VERSION}")
list(APPEND eTSMP_MODEL_VERSIONS "OASIS3-MCT: ${OASIS_VERSION}")

0 comments on commit b0f85c3

Please sign in to comment.