mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
Again, forgot to fix CMakeLists.txt
to match configure.ac (sigh!). ENABLE_FILEINFO should be enabled iff NETCDF4 is enabled.
This commit is contained in:
parent
272e6f4022
commit
a4dea6bf83
@ -1070,8 +1070,12 @@ MARK_AS_ADVANCED(ENABLE_DAP_REMOTE_TESTS ENABLE_DAP_LONG_TESTS USE_REMOTE_CDASH)
|
||||
MARK_AS_ADVANCED(ENABLE_DOXYGEN_BUILD_RELEASE_DOCS DOXYGEN_ENABLE_TASKS ENABLE_DOXYGEN_SERVER_SIDE_SEARCH)
|
||||
MARK_AS_ADVANCED(ENABLE_SHARED_LIBRARY_VERSION)
|
||||
|
||||
# This option is temporary and should always be on
|
||||
# This option is temporary and should always be on except if netcdf-4 is off.
|
||||
IF(ENABLE_NETCDF_4)
|
||||
OPTION(ENABLE_FILEINFO "Enable FILEINFO." ON)
|
||||
ELSE()
|
||||
OPTION(ENABLE_FILEINFO "Enable FILEINFO." OFF)
|
||||
ENDIF()
|
||||
MARK_AS_ADVANCED(ENABLE_FILEINFO)
|
||||
|
||||
################################
|
||||
|
Loading…
Reference in New Issue
Block a user