Update README.md

Co-Authored-By: Dennis Klein <dennis.klein.github@gmail.com>
This commit is contained in:
Alexey Rybalchenko 2019-08-22 15:10:17 +02:00
parent cb2f6ce12b
commit c90ecc9463

View File

@ -37,7 +37,14 @@ find_package(FairLogger)
`find_package(FairLogger)` will define an imported target `FairLogger::FairLogger`. `find_package(FairLogger)` will define an imported target `FairLogger::FairLogger`.
In case of external fmt, the using project will need to find it. If FairLogger is built with `-DUSE_BOOST_PRETTY_FUNCTION=ON` and/or `-DUSE_EXTERNAL_FMT=ON`, your project needs to find the external dependencies, too, e.g.
```cmake
find_package(FairLogger)
foreach(dep IN LISTS FairLogger_PACKAGE_DEPENDENCIES)
find_package(${dep} ${FairLogger_${dep}_VERSION})
endforeach()
```
## CMake options ## CMake options