-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom FMT_INC_DIR in pkgconfig and cmake configs (#1702)
* Support custom FMT_INC_DIR in pkgconfig and cmake configs When CMAKE_INSTALL_INCLUDEDIR or FMT_INC_DIR override the header installation directory, they should be used instead of ${CMAKE_INSTALL_PREFIX}/include in fmt-targets.cmake and fmt.pc. * Put headers into FMT_INC_DIR/fmt rather than directly into FMT_INC_DIR This makes FMT_INC_DIR an alias for CMAKE_INSTALL_INCLUDEDIR and simplifies generation of pkgconfig and cmake configs. * Do not split target_include_directories
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters