mirror of
https://github.com/pantor/inja.git
synced 2026-08-07 16:03:21 +00:00
cmake: Use GNUInstallDirs for install paths and install pc file (#317)
This ensures that the correct include and library directories are used regardless of operating system target by leveraging the built-in GNUInstallDirs logic for determining the right directory paths. This also fixes the path for the CMake config module files to use the right location for header-only libraries. A pc(5) file for pkgconfig is now also created and installed.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Name: inja
|
||||
Description: @PROJECT_DESCRIPTION@
|
||||
URL: https://github.com/pantor/inja
|
||||
Version: @PROJECT_VERSION@
|
||||
Requires: nlohmann_json
|
||||
Reference in New Issue
Block a user