Skip to content

Commit

Permalink
use full settings, and remove from package_id
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsogo committed Oct 10, 2020
1 parent 78a0187 commit e77551b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/cmake/3.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e77551b

Please sign in to comment.