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

parent a8d6e60e
...@@ -4,6 +4,8 @@ ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment