Commit e50a75f23157bf6b0a79ba64cc783766ff7dc3d9
Committed by
GitHub
1 parent
89926dc8
feat: create pkg-config file (#523)
Showing
3 changed files
with
17 additions
and
0 deletions
CMakeLists.txt
| @@ -224,6 +224,8 @@ if(CLI11_INSTALL) | @@ -224,6 +224,8 @@ if(CLI11_INSTALL) | ||
| 224 | NAMESPACE CLI11:: | 224 | NAMESPACE CLI11:: |
| 225 | FILE CLI11Targets.cmake) | 225 | FILE CLI11Targets.cmake) |
| 226 | 226 | ||
| 227 | + include(cmake/CLI11GeneratePkgConfig.cmake) | ||
| 228 | + | ||
| 227 | # Register in the user cmake package registry | 229 | # Register in the user cmake package registry |
| 228 | export(PACKAGE CLI11) | 230 | export(PACKAGE CLI11) |
| 229 | endif() | 231 | endif() |
cmake/CLI11.pc.in
0 → 100644