Skip to content

Commit

Permalink
Try unsetting WCOSS vars instead
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Nov 1, 2024
1 parent 9be36a7 commit 08547f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
cmake_minimum_required(VERSION 3.5)

if(POLICY CMP0074)
cmake_policy(SET CMP0074 OLD)
endif()

# Set the project name and version
project(NEXUS
VERSION 0.2.0
Expand Down
4 changes: 4 additions & 0 deletions modulefiles/ufs_wcoss2.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ setenv("CXX", "CC")
setenv("FC", "ftn")
setenv("CMAKE_Platform", "wcoss2")

-- Avoid CMake Policy CMP0074 warning when using our Find*.cmake scripts
unsetenv("NetCDF_ROOT")
unsetenv("ESMF_ROOT")

whatis("Description: UFS build environment")

0 comments on commit 08547f8

Please sign in to comment.