mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Replace ENABLE_EXAMPLES with NETCDF_ENABLE_EXAMPLES
This commit is contained in:
parent
7263727d49
commit
086401f86f
@ -395,7 +395,7 @@ option(NETCDF_BUILD_UTILITIES "Build ncgen, ncgen3, ncdump." ON)
|
||||
option(ENABLE_MMAP "Use MMAP." ON)
|
||||
|
||||
# Option to use examples.
|
||||
option(ENABLE_EXAMPLES "Build Examples" ON)
|
||||
option(NETCDF_ENABLE_EXAMPLES "Build Examples" ON)
|
||||
|
||||
###
|
||||
# Allow the user to specify libraries
|
||||
@ -1457,7 +1457,7 @@ if(ENABLE_TESTS)
|
||||
if(NETCDF_ENABLE_DAP4)
|
||||
add_subdirectory(dap4_test)
|
||||
endif()
|
||||
if(ENABLE_EXAMPLES)
|
||||
if(NETCDF_ENABLE_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
if(NETCDF_ENABLE_BENCHMARKS)
|
||||
|
2
wjna
2
wjna
@ -20,7 +20,7 @@ FLAGS="-DHDF5_DIR=${CPP}/cmake/hdf5 ${FLAGS}"
|
||||
|
||||
FLAGS="-DNETCDF_ENABLE_CONVERSION_WARNINGS=OFF ${FLAGS}"
|
||||
FLAGS="-DNETCDF_BUILD_UTILITIES=OFF ${FLAGS}"
|
||||
FLAGS="-DENABLE_EXAMPLES=OFF ${FLAGS}"
|
||||
FLAGS="-DNETCDF_ENABLE_EXAMPLES=OFF ${FLAGS}"
|
||||
FLAGS="-DENABLE_V2_API=OFF ${FLAGS}"
|
||||
FLAGS="-DENABLE_JNA=ON ${FLAGS}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user