Enable building & running the example against an installed copy of spdlog
This commit is contained in:
parent
a8d6e60ec6
commit
8d06df9775
@ -4,6 +4,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(spdlog_examples CXX)
|
project(spdlog_examples CXX)
|
||||||
|
|
||||||
|
include(../cmake/utils.cmake)
|
||||||
|
|
||||||
if(NOT TARGET spdlog)
|
if(NOT TARGET spdlog)
|
||||||
# Stand-alone build
|
# Stand-alone build
|
||||||
find_package(spdlog REQUIRED)
|
find_package(spdlog REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user