File: 0001_use_no_arch_for_pkgconfig.patch

package info (click to toggle)
cli11 2.4.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,120 kB
  • sloc: cpp: 23,299; python: 129; sh: 64; makefile: 11; ruby: 7
file content (17 lines) | stat: -rw-r--r-- 762 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Back to use non arch dependant path for pkgconfig
 Originally setup at https://github.com/CLIUtils/CLI11/pull/635/files but
 reverted in
 https://github.com/CLIUtils/CLI11/pull/916/files
Author: Jose Luis Rivero <jrivero@osrfoundation.org>
Forwarded: https://github.com/CLIUtils/CLI11/pull/1012
Last-Update: 2024-02-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/cmake/CLI11GeneratePkgConfig.cmake
+++ b/cmake/CLI11GeneratePkgConfig.cmake
@@ -4,4 +4,4 @@
   configure_file("cmake/CLI11.pc.in" "CLI11.pc" @ONLY)
 endif()
 
-install(FILES "${PROJECT_BINARY_DIR}/CLI11.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+install(FILES "${PROJECT_BINARY_DIR}/CLI11.pc" DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig")