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:
Dennis Heimbigner 2016-05-06 14:34:28 -06:00
parent 272e6f4022
commit a4dea6bf83

View File

@ -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)
################################