Skip to content

Commit

Permalink
fix build path for cime
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 18, 2020
1 parent 7a20207 commit 5b29c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def buildlib(bldroot, libroot, case, compname=None):
symlink_force(os.path.join(bldroot,dlibname), os.path.join(libroot,libname))
else:
logger.info("Running cmake for CDEPS")
srcpath = os.path.join(case.get_value("CIMEROOT"),"src","components","CDEPS")
srcpath = os.path.join(case.get_value("CIMEROOT"),"src","components","cdeps")

cmake_flags = get_standard_cmake_args(case, os.path.join(sharedpath,"CDEPS"), shared_lib=True)
cmake_flags = get_standard_cmake_args(case, os.path.join(sharedpath,"cdeps"), shared_lib=True)
cmake_flags += " -DCMAKE_INSTALL_PREFIX={} ".format(libroot)
cmake_flags += " -DLIBROOT={} ".format(libroot) + srcpath
logger.info("cmake_flags {}".format(cmake_flags))
Expand Down

0 comments on commit 5b29c3e

Please sign in to comment.