mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
attempting to fix ENABLE_SET_LOG_LEVEL problem with cmake build
This commit is contained in:
parent
966fec740d
commit
9ac15aac46
@ -528,7 +528,7 @@ IF(ENABLE_LOGGING)
|
||||
SET(ENABLE_SET_LOG_LEVEL ON)
|
||||
ENDIF()
|
||||
OPTION(ENABLE_SET_LOG_LEVEL_FUNC "Enable definition of nc_set_log_level()." ON)
|
||||
IF(NOT ENABLE_LOGGING AND ENABLE_SET_LOG_LEVEL_FUNC)
|
||||
IF(ENABLE_NETCDF_4 AND NOT ENABLE_LOGGING AND ENABLE_SET_LOG_LEVEL_FUNC)
|
||||
ADD_DEFINITIONS(-DENABLE_SET_LOG_LEVEL)
|
||||
SET(ENABLE_SET_LOG_LEVEL ON)
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user