lighter dependencies, some more info from cmake
This commit is contained in:
parent
c75e6a92ea
commit
419270ee71
@ -3,6 +3,7 @@ INCLUDE(CheckCXXCompilerFlag)
|
|||||||
function(enable_cxx_compiler_flag_if_supported flag)
|
function(enable_cxx_compiler_flag_if_supported flag)
|
||||||
string(FIND "${CMAKE_CXX_FLAGS}" "${flag}" flag_already_set)
|
string(FIND "${CMAKE_CXX_FLAGS}" "${flag}" flag_already_set)
|
||||||
if(flag_already_set EQUAL -1)
|
if(flag_already_set EQUAL -1)
|
||||||
|
message(STATUS "Testing flag ${flag}")
|
||||||
check_cxx_compiler_flag("${flag}" flag_supported)
|
check_cxx_compiler_flag("${flag}" flag_supported)
|
||||||
if(flag_supported)
|
if(flag_supported)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
|
||||||
|
@ -3,7 +3,7 @@ from conans import CMake, ConanFile
|
|||||||
|
|
||||||
class GeneticImageConan(ConanFile):
|
class GeneticImageConan(ConanFile):
|
||||||
settings = "os", "compiler", "build_type", "arch"
|
settings = "os", "compiler", "build_type", "arch"
|
||||||
requires = "opencv/4.0.1@conan/stable", "boost/1.69.0@conan/stable", "spdlog/1.3.1@bincrafters/stable", "gtest/1.8.1@bincrafters/stable"
|
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", "gcc", "txt"
|
||||||
|
|
||||||
def imports(self):
|
def imports(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user