eckit::geo

This commit is contained in:
Pedro Maciel 2024-10-11 12:48:14 +01:00
parent 977351983e
commit 3b9fbaa9b5
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ ecbuild_add_option( FEATURE GEOGRAPHY
REQUIRED_PACKAGES eckit
DEFAULT ON )
if(HAVE_GEOGRAPHY)
if(HAVE_GEOGRAPHY AND NOT TARGET eckit_geo)
find_library(ECKIT_GEO_LIB NAMES eckit_geo REQUIRED)
endif()