mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Update cmake
This commit is contained in:
parent
f87049370f
commit
665b708e6e
@ -38,6 +38,7 @@ add_executable(async_bench async_bench.cpp)
|
|||||||
target_link_libraries(async_bench spdlog::spdlog Threads::Threads)
|
target_link_libraries(async_bench spdlog::spdlog Threads::Threads)
|
||||||
|
|
||||||
add_executable(latency latency.cpp)
|
add_executable(latency latency.cpp)
|
||||||
|
set(CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark)
|
||||||
target_link_libraries(latency spdlog::spdlog Threads::Threads)
|
target_link_libraries(latency spdlog::spdlog Threads::Threads)
|
||||||
|
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
||||||
|
Loading…
Reference in New Issue
Block a user