From 87fd840be635381f975f3d42e932e8a4514cb0cb Mon Sep 17 00:00:00 2001
From: Joscha Schmiedt <joscha@schmiedt.dev>
Date: Wed, 12 Jun 2024 23:32:48 +0200
Subject: [PATCH] Remove boost::test due to conflict with gtest

See https://github.com/conan-io/conan-center-index/issues/20561
---
 conanfile.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conanfile.py b/conanfile.py
index 0f3771b..fb6a3a6 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -43,6 +43,7 @@ class CaosdbConan(ConanFile):
         if self.settings.os == "Windows":
             self.options.rm_safe("fPIC")
         self.options["boost"].without_python = True
+        self.options["boost"].without_test = True
         self.options["boost"].filesystem_version = "3"
 
     def generate(self):
@@ -82,6 +83,7 @@ class CaosdbConan(ConanFile):
 
     def package_info(self):
         self.cpp_info.libs = ["caosdb", "ccaosdb"]
+        self.cpp_info.requires = ["boost::headers"]
 
     def validate(self):
         if self.settings.os not in ("Linux", "Windows"):
-- 
GitLab