Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Fix conditional linking of fmt
If a simple "if" is used instead, the generated cmake target files will include the fmt dependency no matter what the surrounding "if" is evaluated to. With the generator expression, cmake can detect on generation of the files if the dependency should be included or not.
- Loading branch information