File: 0005-Fix-setting-of-LIBMINC_USE_FILE_CONFIG-to-be-correct.patch

package info (click to toggle)
libminc 2.4.05-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,248 kB
  • sloc: ansic: 57,257; cpp: 3,654; sh: 100; makefile: 23; ruby: 18
file content (21 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Steve Robbins <steve@sumost.ca>
Date: Thu, 1 Sep 2022 21:13:31 -0500
Subject: Fix setting of LIBMINC_USE_FILE_CONFIG to be correct for Debian.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2d80291..584dde7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -525,7 +525,7 @@ ENDIF()
 
 
 # config for install dir
-SET(LIBMINC_USE_FILE_CONFIG     "\${LIBMINC_INSTALL_PREFIX}/lib/cmake/Use${LIBMINC_EXTERNAL_LIB_PREFIX}LIBMINC.cmake" )
+SET(LIBMINC_USE_FILE_CONFIG     "\${LIBMINC_INSTALL_PREFIX}/cmake/LIBMINC/Use${LIBMINC_EXTERNAL_LIB_PREFIX}LIBMINC.cmake" )
 SET(LIBMINC_INCLUDE_DIRS_CONFIG "\${LIBMINC_INSTALL_PREFIX}/include" )
 SET(LIBMINC_LIBRARY_DIRS_CONFIG "\${LIBMINC_INSTALL_PREFIX}/lib" )
 SET(LIBMINC_STATIC_LIBRARIES_CONFIG   "" )