mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-12 18:10:24 +08:00
actually include target info in export config
This commit is contained in:
parent
847cbf66dc
commit
111bc7fd75
@ -9,20 +9,22 @@ set_and_check(netCDF_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
|
||||
set_and_check(netCDF_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
|
||||
set_and_check(netCDF_LIB_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
|
||||
|
||||
set(netcdf_LIBRARIES "netcdf")
|
||||
set(netCDF_LIBRARIES netcdf)
|
||||
|
||||
# include target information
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake")
|
||||
|
||||
# Compiling Options
|
||||
#
|
||||
set(netCDF_C_COMPILER @CC_VERSION@)
|
||||
set(netCDF_C_COMPILER_FLAGS @CFLAGS@)
|
||||
set(netCDF_C_CPP_FLAGS @CPPFLAGS@)
|
||||
set(netCDF_LDFLAGS @LDFLAGS@)
|
||||
set(netCDF_AM_CFLAGS @AM_CFLAGS@)
|
||||
set(netCDF_AM_CPPFLAGS @AM_CPPFLAGS@)
|
||||
set(netCDF_AM_LDFLAGS @AM_LDFLAGS@)
|
||||
set(netCDF_C_COMPILER "@CC_VERSION@")
|
||||
set(netCDF_C_COMPILER_FLAGS "@CFLAGS@")
|
||||
set(netCDF_C_CPP_FLAGS "@CPPFLAGS@")
|
||||
set(netCDF_LDFLAGS "@LDFLAGS@")
|
||||
set(netCDF_AM_CFLAGS "@AM_CFLAGS@")
|
||||
set(netCDF_AM_CPPFLAGS "@AM_CPPFLAGS@")
|
||||
set(netCDF_AM_LDFLAGS "@AM_LDFLAGS@")
|
||||
set(netCDF_SHARED @enable_shared@)
|
||||
set(netCDF_STATIC @enable_static@)
|
||||
set(netCDF_EXTRA_LIBS @LIBS@)
|
||||
|
||||
# Features:
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user