undid changes to CMakeList.txt

This commit is contained in:
Ed Hartnett 2018-07-20 06:32:00 -06:00
parent 0f21e3495e
commit 67e31b9271

View File

@ -535,7 +535,7 @@ IF(ENABLE_LOGGING)
SET(LOGGING ON)
ENDIF()
OPTION(ENABLE_SET_LOG_LEVEL_FUNC "Enable definition of nc_set_log_level()." ON)
IF(ENABLE_NETCDF_$ AND ((NOT ENABLE_LOGGING AND ENABLE_SET_LOG_LEVEL_FUNC) OR ENABLE_LOGGING))
IF(ENABLE_NETCDF_$ AND (NOT ENABLE_LOGGING AND ENABLE_SET_LOG_LEVEL_FUNC) OR ENABLE_LOGGING)
ADD_DEFINITIONS(-DENABLE_SET_LOG_LEVEL)
ENDIF()