File: Switch-find_package-to-module-mode.patch

package info (click to toggle)
hipfft 6.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,256 kB
  • sloc: cpp: 27,648; python: 170; makefile: 48; xml: 15; sh: 12
file content (24 lines) | stat: -rw-r--r-- 692 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
23
24
From: Christian Kastner <ckk@debian.org>
Date: Sun, 29 Jun 2025 19:53:30 +0200
Subject: Switch find_package to module mode

No idea why upstream goes config mode, hence not forwarding.

Forwarded: not-needed
---
 clients/tests/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/tests/CMakeLists.txt b/clients/tests/CMakeLists.txt
index 28c6594..db38614 100644
--- a/clients/tests/CMakeLists.txt
+++ b/clients/tests/CMakeLists.txt
@@ -84,7 +84,7 @@ if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
   if( WIN32 )
     find_package( HIP CONFIG REQUIRED )
   else()
-    find_package( HIP MODULE REQUIRED )
+    find_package( HIP REQUIRED )
   endif()
 endif()