spdlog/vendor/CMakeLists.txt
2016-05-04 23:39:10 -05:00

26 lines
597 B
CMake

#
# External libraries
#
#
# Most of these libraries are used for running comparison benchmarks against
# other logging libraries.
if(IS_DIRECTORY zf_log)
add_subdirectory(zf_log)
endif()
if(IS_DIRECTORY glog)
add_subdirectory(glog)
endif()
if(IS_DIRECTORY easyloggingpp)
add_library(easylogging INTERFACE)
set(SPDLOG_VENDORED_EASYLOGGING_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/easyloggingpp" CACHE INTERNAL "" FORCE)
target_include_directories(easylogging INTERFACE "${SPDLOG_VENDORED_EASYLOGGING_ROOT}/src")
endif()
if(IS_DIRECTORY g3log)
add_subdirectory(g3log)
endif()