Files
CLI11/cmake/CLI11GeneratePkgConfig.cmake
Jose Luis Rivero 852fc94f30 Restore non-arch dependant path for the pkgconfig file (#1012)
Originally setup at https://github.com/CLIUtils/CLI11/pull/635 but
reverted in https://github.com/CLIUtils/CLI11/pull/916 without any
specific reason that I can find.
2024-03-11 08:35:35 -07:00

8 lines
256 B
CMake

if(CLI11_PRECOMPILED)
configure_file("cmake/CLI11precompiled.pc.in" "CLI11.pc" @ONLY)
else()
configure_file("cmake/CLI11.pc.in" "CLI11.pc" @ONLY)
endif()
install(FILES "${PROJECT_BINARY_DIR}/CLI11.pc" DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig")