diff --git a/recipes/yomm2/all/conanfile.py b/recipes/yomm2/all/conanfile.py index 077219f53c747..48810a9bcf9ef 100644 --- a/recipes/yomm2/all/conanfile.py +++ b/recipes/yomm2/all/conanfile.py @@ -12,7 +12,7 @@ class yomm2Recipe(ConanFile): name = "yomm2" - package_type = "shared-library" + package_type = "header-library" # Optional metadata license = "BSL-1.0" url = "https://github.com/conan-io/conan-center-index" @@ -26,7 +26,7 @@ class yomm2Recipe(ConanFile): "header_only": [True, False], } default_options = { - "header_only": False + "header_only": True } @property @@ -43,8 +43,8 @@ def _compilers_minimum_version(self): } def configure(self): - if self.options.header_only: - self.package_type = "header-library" + if not bool(self.options.header_only): + self.package_type = "shared-library" def validate(self): if self.settings.compiler.get_safe("cppstd"):