diff options
author | David Zemon <david@zemon.name> | 2019-05-18 07:23:51 +0300 |
---|---|---|
committer | David Zemon <david@zemon.name> | 2019-05-18 07:28:53 +0300 |
commit | 6fe899af104930c381b8bb0498e93b7a09418241 (patch) | |
tree | b3e333f707ca23758e25fd0b08ef4b9436fb4bde /bench | |
parent | 107fe0a14231587a03921a22300fb988e0a9ebe0 (diff) |
Set Threads::Threads dependency on spdlog libs - don't make user do it
Diffstat (limited to 'bench')
-rw-r--r-- | bench/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt index 3c4a3f9d..dcb03a9e 100644 --- a/bench/CMakeLists.txt +++ b/bench/CMakeLists.txt @@ -33,16 +33,16 @@ find_package(Threads REQUIRED) find_package(benchmark CONFIG REQUIRED) add_executable(bench bench.cpp) -target_link_libraries(bench PRIVATE spdlog::spdlog Threads::Threads) +target_link_libraries(bench PRIVATE spdlog::spdlog) add_executable(async_bench async_bench.cpp) -target_link_libraries(async_bench PRIVATE spdlog::spdlog Threads::Threads) +target_link_libraries(async_bench PRIVATE spdlog::spdlog) add_executable(latency latency.cpp) -target_link_libraries(latency PRIVATE benchmark::benchmark spdlog::spdlog Threads::Threads) +target_link_libraries(latency PRIVATE benchmark::benchmark spdlog::spdlog) add_executable(formatter-bench formatter-bench.cpp) -target_link_libraries(formatter-bench PRIVATE benchmark::benchmark spdlog::spdlog Threads::Threads) +target_link_libraries(formatter-bench PRIVATE benchmark::benchmark spdlog::spdlog) file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs") |