Enable building & running the example against an installed copy of spdlog

This commit is contained in:
Michael R. Crusoe 2020-02-07 16:09:16 +01:00
parent a8d6e60ec6
commit 8d06df9775
No known key found for this signature in database
GPG Key ID: 3C26763F6C67E6E2

View File

@ -4,6 +4,8 @@
cmake_minimum_required(VERSION 3.1)
project(spdlog_examples CXX)
include(../cmake/utils.cmake)
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog REQUIRED)