mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
12 lines
271 B
CMake
12 lines
271 B
CMake
project(spdlite-example CXX)
|
|
|
|
set(LITE_SOURCES example.cpp create_logger.cpp)
|
|
|
|
add_executable(${PROJECT_NAME} ${LITE_SOURCES})
|
|
|
|
find_package(Threads)
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads)
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE spdlite)
|
|
|
|
|