Skip to content

Commit

Permalink
eckit::geo - fixed detection of eckit
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel committed Nov 29, 2024
1 parent 5c76091 commit f5ea8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ ecbuild_add_option( FEATURE ECKIT_GEO
CONDITION ENABLE_GEOGRAPHY
DEFAULT OFF )

if( ENABLE_ECKIT_GEO AND NOT TARGET eckit_geo )
if( eckit_HAVE_ECKIT_GEO AND NOT TARGET eckit_geo )
ecbuild_find_package(NAME eckit VERSION 1.27 REQUIRED)
if( NOT eckit_HAVE_ECKIT_GEO )
if( NOT TARGET eckit_geo )
ecbuild_critical("eckit has not been built with ECKIT_GEO enabled")
endif()
endif()
Expand Down

0 comments on commit f5ea8b6

Please sign in to comment.