CMake improvements

This commit is contained in:
gabime
2019-05-29 00:04:36 +03:00
parent 5709cb10d1
commit 30bd80bd85
4 changed files with 44 additions and 24 deletions

View File

@@ -2,7 +2,7 @@
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
cmake_minimum_required(VERSION 3.1)
project(SpdlogBench CXX)
project(spdlog_bench CXX)
if(NOT TARGET spdlog)
# Stand-alone build
@@ -21,7 +21,6 @@ target_link_libraries(async_bench PRIVATE spdlog::spdlog)
add_executable(latency latency.cpp)
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)