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)
|
endif (WINDOWS)
|
||||||
|
|
||||||
if (STATICC)
|
if (STATICC)
|
||||||
target_link_libraries(Arbutils -static-libgcc -static-libstdc++)
|
target_link_libraries(Arbutils -static -static-libgcc -static-libstdc++)
|
||||||
if (NOT DEFINED CONAN_EXPORTED)
|
if (NOT DEFINED CONAN_EXPORTED)
|
||||||
target_link_libraries(ArbutilsTests -static-libgcc -static-libstdc++)
|
target_link_libraries(ArbutilsTests -static -static-libgcc -static-libstdc++)
|
||||||
endif()
|
endif()
|
||||||
endif(STATICC)
|
endif(STATICC)
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,6 @@ class ArbutilsConan(ConanFile):
|
||||||
cmake.configure()
|
cmake.configure()
|
||||||
cmake.build()
|
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):
|
def package(self):
|
||||||
self.copy("*.hpp", dst="include/Arbutils", src="src")
|
self.copy("*.hpp", dst="include/Arbutils", src="src")
|
||||||
self.copy("*.dll", dst="bin", keep_path=False)
|
self.copy("*.dll", dst="bin", keep_path=False)
|
||||||
|
|
Loading…
Reference in New Issue