pkgconfig fixes

This commit is contained in:
Shahram Najm 2015-01-29 13:27:11 +00:00
parent 2e1d5a33ce
commit 56a2427158
1 changed files with 4 additions and 3 deletions

View File

@ -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()