Skip to content

Commit

Permalink
Merge pull request #224 from rainyl/support-android-ndk-home
Browse files Browse the repository at this point in the history
support ANDROID_NDK_HOME in conanfile
  • Loading branch information
rainyl authored Aug 25, 2024
2 parents 2936756 + ddbf1dd commit e87c1af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def build_requirements(self):
ndk_path = ndk_path or os.environ.get("ANDROID_NDK_ROOT", None)
if ndk_path is None:
self.tool_requires("android-ndk/r26d")
else:
self.conf.define("tools.android:ndk_path", ndk_path)

def layout(self):
# self.build_folder: build/{os}/{arch}/opencv
Expand Down

0 comments on commit e87c1af

Please sign in to comment.