-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconanfile.py
29 lines (25 loc) · 884 Bytes
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from __future__ import annotations
from conan import ConanFile
class Recipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps", "VirtualRunEnv"
def layout(self):
self.folders.generators = "conan"
def requirements(self):
dependencies = [
"pybind11/2.10.1",
"spdlog/1.12.0",
"opencv/4.9.0",
"boost/1.82.0",
"range-v3/0.12.0",
"magic_enum/0.9.3",
"glm/cci.20230113",
"opencl-headers/2023.04.17",
"opencl-icd-loader/2023.04.17"
]
for dependency in dependencies:
self.requires(dependency)
self.requires("zlib/1.3", override=True)
def configure(self):
self.options["opencv"].with_ffmpeg = False
self.options["opencv"].with_webp = False