Link everything statically if StaticC is defined.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f99243481e
commit
444816ce1b
|
@ -28,9 +28,9 @@ if (WINDOWS)
|
|||
endif (WINDOWS)
|
||||
|
||||
if (STATICC)
|
||||
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
|
||||
target_link_libraries(Arbutils -static -static-libgcc -static-libstdc++)
|
||||
if (NOT DEFINED CONAN_EXPORTED)
|
||||
target_link_libraries(ArbutilsTests -static-libgcc -static-libstdc++)
|
||||
target_link_libraries(ArbutilsTests -static -static-libgcc -static-libstdc++)
|
||||
endif()
|
||||
endif(STATICC)
|
||||
|
||||
|
|
|
@ -32,10 +32,6 @@ class ArbutilsConan(ConanFile):
|
|||
cmake.configure()
|
||||
cmake.build()
|
||||
|
||||
# Explicit way:
|
||||
# self.run('cmake "%s/src" %s' % (self.source_folder, cmake.command_line))
|
||||
# self.run("cmake --build . %s" % cmake.build_config)
|
||||
|
||||
def package(self):
|
||||
self.copy("*.hpp", dst="include/Arbutils", src="src")
|
||||
self.copy("*.dll", dst="bin", keep_path=False)
|
||||
|
|
Loading…
Reference in New Issue