mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-10-13 08:41:12 +00:00
Update README.md
Co-Authored-By: Dennis Klein <dennis.klein.github@gmail.com>
This commit is contained in:
parent
8073d2982c
commit
e6a279f58a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user