File: cmake-config-to-datadir.patch

package info (click to toggle)
cpp-jwt 1.4%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 548 kB
  • sloc: cpp: 3,366; ansic: 33; sh: 31; makefile: 14
file content (16 lines) | stat: -rw-r--r-- 536 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Install CMake Config files to /usr/share
Author: Andrea Pappacoda <andrea@pappacoda.it>
Forwarded: https://github.com/arun11299/cpp-jwt/pull/95
Last-Update: 2022-08-08

--- cpp-jwt-1.4.orig/CMakeLists.txt
+++ cpp-jwt-1.4/CMakeLists.txt
@@ -76,7 +76,7 @@ endif()
 
 include(GNUInstallDirs)
 include(CMakePackageConfigHelpers)
-set(CPP_JWT_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
+set(CPP_JWT_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME})
 
 install(
   TARGETS ${PROJECT_NAME}