mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
build: clang-20.1 workaround added to package_info
This commit is contained in:
@ -363,3 +363,11 @@ class MPUnitsConan(ConanFile):
|
||||
self.cpp_info.components["core"].cxxflags.append("/utf-8")
|
||||
|
||||
self.cpp_info.components["systems"].requires = ["core"]
|
||||
|
||||
# https://github.com/llvm/llvm-project/issues/131410
|
||||
if (
|
||||
compiler == "clang"
|
||||
and Version(compiler.version).major == 20
|
||||
and Version(compiler.version).minor == 1
|
||||
):
|
||||
self.cpp_info.components["core"].cxxflags.append("-Wno-unused-result")
|
||||
|
Reference in New Issue
Block a user