mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 05:34:27 +02:00
build: overwriting "core" requires in package_info()
fixed
This commit is contained in:
@@ -145,7 +145,7 @@ class UnitsConan(ConanFile):
|
|||||||
if compiler == "Visual Studio":
|
if compiler == "Visual Studio":
|
||||||
self.cpp_info.components["core"].cxxflags = ["/utf-8"]
|
self.cpp_info.components["core"].cxxflags = ["/utf-8"]
|
||||||
elif compiler == "clang" and compiler.libcxx == "libc++":
|
elif compiler == "clang" and compiler.libcxx == "libc++":
|
||||||
self.cpp_info.components["core"].requires = ["range-v3/range-v3"]
|
self.cpp_info.components["core"].requires.append("range-v3/range-v3")
|
||||||
|
|
||||||
# rest
|
# rest
|
||||||
self.cpp_info.components["core-io"].requires = ["core"]
|
self.cpp_info.components["core-io"].requires = ["core"]
|
||||||
|
Reference in New Issue
Block a user