From b55f73477e58cbb99f2f9205d1be69f0ff82ed91 Mon Sep 17 00:00:00 2001 From: Francisco Ramirez de Anton Date: Mon, 13 May 2024 09:25:54 +0200 Subject: [PATCH] Default as header-only --- recipes/yomm2/all/conanfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"):