better conanfile
This commit is contained in:
parent
ea4072482e
commit
3347f1cfe8
11
conanfile.py
11
conanfile.py
@ -3,8 +3,15 @@ from conans import CMake, ConanFile
|
||||
|
||||
class GeneticImageConan(ConanFile):
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
requires = "opencv/4.0.1@conan/stable", "boost_program_options/1.69.0@bincrafters/stable", "spdlog/1.3.1@bincrafters/stable"
|
||||
generators = "cmake", "gcc", "txt"
|
||||
generators = "cmake", "compiler_args", "txt"
|
||||
|
||||
def requirements(self):
|
||||
self.requires('opencv/4.0.1@conan/stable')
|
||||
self.requires("boost_program_options/1.69.0@bincrafters/stable")
|
||||
self.requires("spdlog/1.3.1@bincrafters/stable")
|
||||
self.options['opencv'].gtk = None
|
||||
self.options['opencv'].tiff = False
|
||||
self.options['opencv'].openexr = False
|
||||
|
||||
def imports(self):
|
||||
self.copy("*.dll", dst="bin", src="bin") # From bin to bin
|
||||
|
Loading…
Reference in New Issue
Block a user