Skip to content

Commit

Permalink
checking for g2c (NOAA-EMC#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett authored Nov 25, 2024
1 parent a1ced39 commit 18074e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ if (BUILD_WITH_W3EMC)
endif()
endif()

# We need g2c if G2C_COMPARE is chosen.
if (G2C_COMPARE)
find_package(g2c 1.7.0 REQUIRED)
endif()

# Figure whether user wants a _4, a _d, or both libraries.
if(BUILD_4 AND BUILD_D)
set(kinds "4" "d")
Expand Down

0 comments on commit 18074e3

Please sign in to comment.