mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 20:53:52 +00:00
* Relocate cmake and pkgconfig files to an arch-independent path Use CMAKE_INSTALL_DATADIR instead of CMAKE_INSTALL_LIBDIR for installing the pkgconfig and cmake files. Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * style: pre-commit.ci fixes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
4 lines
151 B
CMake
4 lines
151 B
CMake
configure_file("cmake/CLI11.pc.in" "CLI11.pc" @ONLY)
|
|
|
|
install(FILES "${PROJECT_BINARY_DIR}/CLI11.pc" DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig")
|