mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
fixing cmake build
This commit is contained in:
parent
82c80c8c6c
commit
86fba34545
@ -392,6 +392,7 @@ ENDIF()
|
||||
OPTION(ENABLE_LOGGING "Enable Logging." OFF)
|
||||
IF(ENABLE_LOGGING)
|
||||
ADD_DEFINITIONS(-DLOGGING)
|
||||
ADD_DEFINITIONS(-DENABLE_SET_LOG_LEVEL)
|
||||
SET(LOGGING ON)
|
||||
ENDIF()
|
||||
OPTION(ENABLE_SET_LOG_LEVEL_FUNC "Enable definition of nc_set_log_level()." ON)
|
||||
|
Loading…
Reference in New Issue
Block a user