File: 0001-install-pkgconfig-file-into-arch-indep-usr-share-pkg.patch

package info (click to toggle)
cxxopts 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 968 kB
  • sloc: cpp: 17,274; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Boyuan Yang <byang@debian.org>
Date: Fri, 22 Oct 2021 16:08:31 -0400
Subject: install pkgconfig file into arch-indep usr/share/pkgconfig/

Forwarded: not-needed
---
 cmake/cxxopts.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/cxxopts.cmake b/cmake/cxxopts.cmake
index b26c18a..4f4520d 100644
--- a/cmake/cxxopts.cmake
+++ b/cmake/cxxopts.cmake
@@ -162,7 +162,7 @@ function(cxxopts_install_logic)
     endif()
     configure_file("${PackagingTemplatesDir}/pkgconfig.pc.in" "${PKG_CONFIG_FILE_NAME}" @ONLY)
     install(FILES "${PKG_CONFIG_FILE_NAME}"
-            DESTINATION "${CMAKE_INSTALL_LIBDIR_ARCHIND}/pkgconfig"
+        DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig"
     )
 
     include(CPack)