Skip to content

Commit 3d50ff9

Browse files
conanfile: declare qt dependency
1 parent f2f17c6 commit 3d50ff9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

conanfile.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@ def build(self):
2929
cmake.configure(source_dir='.', defs=cmake_args)
3030
cmake.build(target='install')
3131

32+
def build_requirements(self):
33+
self.build_requires('Qt5/[5.12.7-2]@pix4d/stable')
34+
3235
def configure(self):
3336
del self.settings.compiler.libcxx
3437

38+
def package_id(self):
39+
# Make all options and dependencies (direct and transitive) contribute
40+
# to the package id
41+
self.info.requires.full_package_mode()
42+
3543
def package_info(self):
3644
self.cpp_info.libs = ["qtgeoservices_basemap_pix4d"]
3745
self.cpp_info.includedirs = ['include']

0 commit comments

Comments
 (0)