mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-12 18:10:24 +08:00
Replace NC_FIND_SHARED_LIBS with NETCDF_FIND_SHARED_LIBS
This commit is contained in:
parent
d9bdb5cf86
commit
345e4462e3
@ -223,7 +223,7 @@ include(GenerateExportHeader)
|
||||
# Compiler and Linker Configuration
|
||||
################################
|
||||
|
||||
option(NC_FIND_SHARED_LIBS "Find dynamically-built versions of dependent libraries" ${BUILD_SHARED_LIBS})
|
||||
option(NETCDF_FIND_SHARED_LIBS "Find dynamically-built versions of dependent libraries" ${BUILD_SHARED_LIBS})
|
||||
|
||||
##
|
||||
# We've had a request to allow for non-versioned shared libraries.
|
||||
|
@ -114,10 +114,10 @@ if(USE_HDF5)
|
||||
# as a shared library, we will use hdf5 as a shared
|
||||
# library. If we are building netcdf statically,
|
||||
# we will use a static library. This can be toggled
|
||||
# by explicitly modifying NC_FIND_SHARED_LIBS.
|
||||
# by explicitly modifying NETCDF_FIND_SHARED_LIBS.
|
||||
##
|
||||
#if (MSVC)
|
||||
# if(NC_FIND_SHARED_LIBS)
|
||||
# if(NETCDF_FIND_SHARED_LIBS)
|
||||
# set(HDF5_USE_STATIC_LIBRARIES OFF)
|
||||
# else()
|
||||
# set(HDF5_USE_STATIC_LIBRARIES ON)
|
||||
|
@ -1,2 +1 @@
|
||||
ENABLE_XGETOPT
|
||||
BUILD_SHARED_LIBS
|
Loading…
x
Reference in New Issue
Block a user