Skip to content

Commit

Permalink
conan-public: try to fix libressl win-arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
thenextman committed Feb 6, 2024
1 parent 19f677c commit 510c77b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/libressl/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def build(self):
cmake.definitions['CMAKE_STATIC_LIBRARY_PREFIX'] = "lib"
cmake.definitions['BUILD_SHARED_LIBS'] = 'ON' if self.options.shared else 'OFF'

if self.settings.os == 'Windows' and self.settings.arch == 'armv8':
cmake.definitions['CMAKE_SYSTEM_PROCESSOR'] = 'aarch64'

if self.settings.os == 'iOS' or self.settings.os == 'Android':
cmake.definitions['LIBRESSL_APPS'] = 'OFF'
else:
Expand Down

0 comments on commit 510c77b

Please sign in to comment.