Enable running the tests against an installed copy of spdlog

pull/1422/head
Michael R. Crusoe 6 years ago
parent 4e643fa42c
commit a8d6e60ec6
No known key found for this signature in database
GPG Key ID: 3C26763F6C67E6E2

@ -1,5 +1,12 @@
cmake_minimum_required(VERSION 3.2)
project(spdlog_utests CXX) project(spdlog_utests CXX)
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog REQUIRED)
endif()
include(../cmake/utils.cmake) include(../cmake/utils.cmake)
find_package(PkgConfig) find_package(PkgConfig)

Loading…
Cancel
Save