Browse Source

better conanfile

master
Phuntsok Drak-pa 9 months ago
parent
commit
3347f1cfe8
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      conanfile.py

+ 9
- 2
conanfile.py View File

@@ -3,8 +3,15 @@ from conans import CMake, ConanFile

class GeneticImageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = "opencv/[email protected]/stable", "boost_program_options/[email protected]/stable", "spdlog/[email protected]/stable"
generators = "cmake", "gcc", "txt"
generators = "cmake", "compiler_args", "txt"

def requirements(self):
self.requires('opencv/[email protected]/stable')
self.requires("boost_program_options/[email protected]/stable")
self.requires("spdlog/[email protected]/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…
Cancel
Save