better conanfile

parent ea407248
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment