WSL/SLF GitLab Repository

Commit baae08c7 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Better detection of Grib_API

parent e37dfd45
......@@ -12,11 +12,17 @@ PATHS
DOC "Location of the grib-api library, like /usr/lib/"
#build GRIBAPI_ROOT so we can provide a hint for searching for the header file
GET_FILENAME_COMPONENT(grib_api_libs_root ${GribApi_LIBRARY} PATH)
SET(GRIBAPI_ROOT "${meteoio_libs_root}/../")
# locate main header file
NAMES grib_api.h
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment