Skip to content

Commit

Permalink
(conan-io#22359) [fix] fix onnxruntime android build
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Girardeau <jonathan.girardeau@airudit.com>
  • Loading branch information
2 people authored and Ahajha committed Feb 10, 2024
1 parent 9677015 commit cac8c6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/onnxruntime/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ def package_info(self):

if self.settings.os in ["Linux", "Android", "FreeBSD", "SunOS", "AIX"]:
self.cpp_info.system_libs.append("m")
if self.settings.os in ["Linux", "FreeBSD", "SunOS", "AIX"]:
self.cpp_info.system_libs.append("pthread")
if is_apple_os(self):
self.cpp_info.frameworks.append("Foundation")
Expand Down

0 comments on commit cac8c6d

Please sign in to comment.