aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCarsten Neumann <cpneumann@ualr.edu>2018-12-17 09:52:25 -0600
committerCarsten Neumann <cpneumann@ualr.edu>2018-12-17 09:52:25 -0600
commitf64362201923a20111ced9b789286437a8acac13 (patch)
tree2135c7c05c648442f67239daa7890177aa3d08fc /scripts
parentfcde2e64eb46295b64b3caa58d0d32eab0b6a49d (diff)
downloadvcpkg-f64362201923a20111ced9b789286437a8acac13.tar.gz
vcpkg-f64362201923a20111ced9b789286437a8acac13.zip
Fix spdlog handling of external fmt lib
Using an external fmt lib should cause the spdlog::spdlog target to have a dependency on fmt lib - so that a consuming project does not need to call find_package(fmt) and target_link_libraries(... fmt::fmt). To this end a new cmake option SPDLOG_FMT_EXTERNAL is introduced which makes spdlog depend on fmt lib and defines the SPDLOG_FMT_EXTERNAL macro to avoid using the bundled fmt lib. The value of SPDLOG_FMT_EXTERNAL is also stored in the installed spdlogConfig.cmake and if it is ON find_dependency() is used to ensure the fmt::fmt target is imported.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions