mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Reintroduce targets to allow for cmake-based netCDF-Fortran to find and linka gainst netCDF-C. Stop-gap measure until we can modify netCDF-Fortran to use a more modern approach.
This commit is contained in:
parent
be9cb7f6da
commit
31b58c4cc5
@ -5,7 +5,9 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
set(NetCDFVersion "@PACKAGE_VERSION@")
|
||||
|
||||
set_and_check(netCDF_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
|
||||
set_and_check(netCDF_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@")
|
||||
set_and_check(netCDF_LIB_DIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@")
|
||||
set(netCDF_LIBRARIES netCDF::netcdf)
|
||||
|
||||
# include target information
|
||||
|
Loading…
Reference in New Issue
Block a user