diff --git a/recipes/cmake/3.x.x/conanfile.py b/recipes/cmake/3.x.x/conanfile.py index 2edf986b850ba..593e3144ea4d3 100644 --- a/recipes/cmake/3.x.x/conanfile.py +++ b/recipes/cmake/3.x.x/conanfile.py @@ -11,7 +11,7 @@ class CMakeConan(ConanFile): homepage = "https://github.com/Kitware/CMake" license = "BSD-3-Clause" generators = "cmake" - settings = "os", "arch" + settings = "os", "arch", "compiler", "build_type" options = { "with_openssl": [True, False, "auto"], @@ -76,6 +76,8 @@ def package(self): def package_id(self): self.info.options.with_openssl = self._with_openssl + del self.info.settings.compiler + del self.info.settings.build_type def package_info(self): minor = self._minor_version()