spdlog/spdlite/example/CMakeLists.txt

12 lines
271 B
CMake
Raw Normal View History

2019-03-30 21:49:02 +08:00
project(spdlite-example CXX)
2019-03-23 19:31:57 +08:00
2019-03-24 07:27:05 +08:00
set(LITE_SOURCES example.cpp create_logger.cpp)
2019-03-23 19:31:57 +08:00
add_executable(${PROJECT_NAME} ${LITE_SOURCES})
2019-03-30 21:49:02 +08:00
find_package(Threads)
2019-03-23 19:31:57 +08:00
target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads)
2019-03-30 21:49:02 +08:00
target_link_libraries(${PROJECT_NAME} PRIVATE spdlite)
2019-03-23 19:31:57 +08:00