From b64825b3894cd11f8d6be25792c92b75144f4b9a Mon Sep 17 00:00:00 2001 From: Robin Linden Date: Wed, 9 Feb 2022 17:47:17 +0100 Subject: [PATCH] fix: Fix Conan build link failures --- conanfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conanfile.py b/conanfile.py index 2a6c4efb..5955c1d6 100644 --- a/conanfile.py +++ b/conanfile.py @@ -30,6 +30,8 @@ class ToxConan(ConanFile): self._cmake = CMake(self) self._cmake.definitions["AUTOTEST"] = self.options.with_tests self._cmake.definitions["BUILD_MISC_TESTS"] = self.options.with_tests + self._cmake.definitions["ENABLE_SHARED"] = False + self._cmake.definitions["ENABLE_STATIC"] = True self._cmake.definitions["MUST_BUILD_TOXAV"] = True if self.settings.compiler == "Visual Studio": self._cmake.definitions["MSVC_STATIC_SODIUM"] = True