summaryrefslogtreecommitdiff
path: root/sci-libs/flann/files/flann-1.9.2-boost-config.patch
blob: 2e3f8598bd79b0e7c7916255c60300830c2196bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 5127212278ef3675f36e962dc2f057583ab80f57 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Mon, 16 Dec 2024 16:02:03 +0100
Subject: [PATCH] boost config

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64ead01..0e0b4dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -108,7 +108,7 @@ endif(USE_MPI)
 
 
 if (USE_MPI AND HDF5_IS_PARALLEL)
-    find_package(Boost COMPONENTS mpi system serialization thread REQUIRED)
+    find_package(Boost COMPONENTS mpi system serialization thread REQUIRED CONFIG)
     include_directories(${Boost_INCLUDE_DIRS})
     add_definitions("-DHAVE_MPI")
 endif()
-- 
2.47.1