...
This commit is contained in:
@@ -28,8 +28,22 @@ set(ADC_NETWORK_HEADERS
|
||||
net/adc_netproto.h
|
||||
net/adc_netservice.h
|
||||
net/adc_endpoint.h
|
||||
net/adc_netserver.h
|
||||
)
|
||||
|
||||
|
||||
option(SPDLOG_LIBRARY "Use SPDLOG library for logging" ON)
|
||||
|
||||
if (SPDLOG_LIBRARY)
|
||||
find_package(spdlog REQUIRED)
|
||||
|
||||
set(ADC_NETWORK_HEADERS ${ADC_NETWORK_HEADERS}
|
||||
net/adc_netserver_spdlog.h
|
||||
)
|
||||
|
||||
add_compile_definitions(PUBLIC USE_SPDLOG_LIBRARY)
|
||||
endif()
|
||||
|
||||
option(BUILD_TESTS "Build tests" ON)
|
||||
|
||||
if (BUILD_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user