CMakeLists.txt minor improvments

This commit is contained in:
gabime 2019-05-29 01:33:20 +03:00
parent d439f75491
commit fc53e3339f
3 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,8 @@
cmake_minimum_required(VERSION 3.1)
project(spdlog_bench CXX)
message(STATUS "Generating benchmarks..")
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog CONFIG REQUIRED)

View File

@ -4,6 +4,8 @@
cmake_minimum_required(VERSION 3.1)
project(spdlog_examples CXX)
message(STATUS "Generating examples..")
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog REQUIRED)

View File

@ -1,3 +1,5 @@
message(STATUS "Generating tests..")
set(SPDLOG_UTESTS_SOURCES
test_errors.cpp
test_file_helper.cpp