Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Jun 7, 2024
1 parent 909b647 commit c95d0cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ endif()

# NCEPLIBS-w3emc may be required.
if (BUILD_WITH_W3EMC)
find_package(w3emc 2.10.0 REQUIRED)
if (BUILD_UTILS)
find_package(w3emc 2.10.0 REQUIRED)
else()
find_package(w3emc 2.9.0 REQUIRED)
endif()
endif()

# Figure whether user wants a _4, a _d, or both libraries.
Expand Down

0 comments on commit c95d0cb

Please sign in to comment.