Currently moving from Gitlab to Gitea at https://labs.phundrak.com. Some features may not work anymore on this Gitlab instance.

lighter dependencies, some more info from cmake

parent c75e6a92
......@@ -3,6 +3,7 @@ INCLUDE(CheckCXXCompilerFlag)
function(enable_cxx_compiler_flag_if_supported flag)
string(FIND "${CMAKE_CXX_FLAGS}" "${flag}" flag_already_set)
if(flag_already_set EQUAL -1)
message(STATUS "Testing flag ${flag}")
check_cxx_compiler_flag("${flag}" flag_supported)
if(flag_supported)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
......
......@@ -3,7 +3,7 @@ from conans import CMake, ConanFile
class GeneticImageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
requires = "opencv/[email protected]/stable", "boost/[email protected]/stable", "spdlog/[email protected]/stable", "gtest/1.8[email protected]/stable"
requires = "opencv/[email protected]/stable", "boost_program_options/[email protected]/stable", "spdlog/1.3[email protected]/stable"
generators = "cmake", "gcc", "txt"
def imports(self):
......
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