mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
fix: Fix Conan build link failures
This commit is contained in:
parent
10f86f6c00
commit
b64825b389
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user