Skip to content

Commit

Permalink
Update recipes/zserio/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
  • Loading branch information
Mi-La and AbrilRBS committed May 20, 2024
1 parent f3c5771 commit 99fc75b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/zserio/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def source(self):

def generate(self):
tc = CMakeToolchain(self)
tc.variables["CMAKE_CXX_STANDARD"] = self.settings.compiler.get_safe("cppstd", str(self._min_cppstd)).replace("gnu", "")
if not self.settings.get_safe("compiler.cppstd"):
tc.variables["CMAKE_CXX_STANDARD"] = str(self._min_cppstd)
tc.generate()

Check failure on line 82 in recipes/zserio/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

unindent does not match any outer indentation level (<unknown>, line 82)

def build(self):
Expand Down

0 comments on commit 99fc75b

Please sign in to comment.