fixing cmake build

This commit is contained in:
Ed Hartnett 2018-05-12 13:40:38 -06:00
parent 82c80c8c6c
commit 86fba34545

View File

@ -392,6 +392,7 @@ ENDIF()
OPTION(ENABLE_LOGGING "Enable Logging." OFF) OPTION(ENABLE_LOGGING "Enable Logging." OFF)
IF(ENABLE_LOGGING) IF(ENABLE_LOGGING)
ADD_DEFINITIONS(-DLOGGING) ADD_DEFINITIONS(-DLOGGING)
ADD_DEFINITIONS(-DENABLE_SET_LOG_LEVEL)
SET(LOGGING ON) SET(LOGGING ON)
ENDIF() ENDIF()
OPTION(ENABLE_SET_LOG_LEVEL_FUNC "Enable definition of nc_set_log_level()." ON) OPTION(ENABLE_SET_LOG_LEVEL_FUNC "Enable definition of nc_set_log_level()." ON)