Warning and other compilation flags cleanup
This commit is contained in:
1 parent
2ab233610f
commit
e622ecb35a
2 files changed
+8
-8
No files matched your search
+4
-2
@@ -93,11 +93,13 @@ class UnitsConan(ConanFile):
|
||||
self.cpp_info.includedirs = ['include']
|
||||
if self.settings.compiler == "gcc":
|
||||
self.cpp_info.cxxflags = [
|
||||
"-fconcepts",
|
||||
"-Wno-literal-suffix",
|
||||
"-Wno-non-template-friend",
|
||||
"-Wno-stringop-overflow"
|
||||
]
|
||||
if Version(self.settings.compiler.version) < "10":
|
||||
self.cpp_info.cxxflags.extend([
|
||||
"-fconcepts"
|
||||
])
|
||||
|
||||
def package_id(self):
|
||||
self.info.settings.clear()
|
||||
|
||||
Reference in new issue
Block a user