diff --git a/CMakeLists.txt b/CMakeLists.txt index f7593b28..e671129e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,6 @@ option(BUILD_D "Build libg2_d.a" ON) option(BUILD_WITH_W3EMC "Build with NCEPLIBS-w3emc, enabling some GRIB1 functionality" ON) option(BUILD_UTILS "Build grib utilities" ON) option(USE_AEC "Build with AEC (CCSDS) compression support" OFF) -option(G2C_COMPARE "Enable copygb2 tests using g2c_compare" OFF) # Developers can use this option to specify a local directory which # holds the test files. They will be copied instead of fetching the @@ -73,7 +72,7 @@ endif() # There was a bug in jasper for the intel compiler that was fixed in # 2.0.25. find_package(Jasper 2.0.25 REQUIRED) -find_package(g2c REQUIRED) +find_package(g2c 2.1.0 REQUIRED) find_package(PNG REQUIRED) find_package(bacio REQUIRED) if(bacio_VERSION LESS 2.5.0) @@ -89,11 +88,6 @@ 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")