fix: Fix Conan build link failures

This commit is contained in:
Robin Linden 2022-02-09 17:47:17 +01:00
parent 10f86f6c00
commit b64825b389
No known key found for this signature in database
GPG Key ID: 601A604B7E605776

View File

@ -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