From 30125a5704d3ded645481a4eb2810238d2f15021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rinc=C3=B3n=20Blanco?= Date: Fri, 26 Apr 2024 23:24:08 +0200 Subject: [PATCH] Improve v1 check --- recipes/dispenso/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/dispenso/all/conanfile.py b/recipes/dispenso/all/conanfile.py index 80524861f3939..82bf8da42ed3b 100644 --- a/recipes/dispenso/all/conanfile.py +++ b/recipes/dispenso/all/conanfile.py @@ -79,7 +79,7 @@ def generate(self): # TODO: Missing $<$>:-fvisibility=hidden> equivalent? tc.preprocessor_definitions["NOMINMAX"] = 1 tc.variables["CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS"] = 1 - if not valid_min_cppstd(self, self._min_cppstd): + if self.settings.get_safe("compiler.cppstd") is None: # TODO: Remove once Conan 1 is deprecated, this is needed so apple-clang # can compile, as it defaults to C++98 tc.variables["CMAKE_CXX_STANDARD"] = self._min_cppstd