File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,8 @@ if(CLI11_INSTALL)
224224 NAMESPACE CLI11::
225225 FILE CLI11Targets.cmake)
226226
227+ include (cmake/CLI11GeneratePkgConfig.cmake)
228+
227229 # Register in the user cmake package registry
228230 export (PACKAGE CLI11)
229231endif ()
Original file line number Diff line number Diff line change 1+ prefix=@CMAKE_INSTALL_PREFIX@
2+ exec_prefix=${prefix}
3+ includedir=${prefix}/include
4+
5+ Name: CLI11
6+ Description: C++ command line parser
7+ Version: @PROJECT_VERSION@
8+
9+ Cflags: -I${includedir}
Original file line number Diff line number Diff line change 1+ configure_file ("cmake/CLI11.pc.in" "CLI11.pc" @ONLY)
2+
3+ install (FILES "${PROJECT_BINARY_DIR} /CLI11.pc"
4+ DESTINATION "${CMAKE_INSTALL_LIBDIR} /pkgconfig" )
5+
6+
You can’t perform that action at this time.
0 commit comments