mirror of https://github.com/ecmwf/eccodes.git
pkgconfig fixes
This commit is contained in:
parent
2e1d5a33ce
commit
56a2427158
|
@ -271,17 +271,18 @@ ecbuild_pkgconfig(
|
|||
NAME eccodes
|
||||
URL "https://software.ecmwf.int/wiki/display/ECC"
|
||||
DESCRIPTION "The ecCodes library"
|
||||
IGNORE_LIBRARIES grib_api_f90 grib_api_f77
|
||||
IGNORE_LIBRARIES grib_api_f90 grib_api_f77 ${NETCDF_LIBRARIES}
|
||||
IGNORE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/fortran ${CMAKE_CURRENT_BINARY_DIR}/fortran ${NETCDF_INCLUDE_DIRS}
|
||||
VARIABLES HAVE_JPG HAVE_LIBJASPER GRIB_PTHREADS HAVE_NETCDF HAVE_PYTHON HAVE_FORTRAN HAVE_PNG HAVE_AEC
|
||||
VARIABLES HAVE_JPG HAVE_LIBJASPER GRIB_THREADS HAVE_NETCDF HAVE_PYTHON HAVE_FORTRAN HAVE_PNG HAVE_AEC
|
||||
)
|
||||
if( EC_HAVE_FORTRAN )
|
||||
ecbuild_pkgconfig(
|
||||
NAME eccodes_f90
|
||||
URL "https://software.ecmwf.int/wiki/display/ECC"
|
||||
IGNORE_LIBRARIES ${NETCDF_LIBRARIES}
|
||||
IGNORE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/fortran ${CMAKE_CURRENT_BINARY_DIR}/fortran ${NETCDF_INCLUDE_DIRS}
|
||||
DESCRIPTION "The ecCodes library for Fortran 90"
|
||||
VARIABLES HAVE_JPG HAVE_LIBJASPER GRIB_PTHREADS HAVE_NETCDF HAVE_PYTHON HAVE_PNG HAVE_AEC
|
||||
VARIABLES HAVE_JPG HAVE_LIBJASPER GRIB_THREADS HAVE_NETCDF HAVE_PYTHON HAVE_PNG HAVE_AEC
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue