From 4492d42b9117b170f583f4ee4317c95fc988fd44 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 20 Sep 2024 17:05:52 -0600 Subject: [PATCH] Revert "build: `package_type` is dynamically set in conanfile.py depending if we build modules or not" This reverts commit bbdb7503624635486bcc7378584a685c23aa70c6. --- conanfile.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/conanfile.py b/conanfile.py index f7f3e97b5..deb3b807b 100644 --- a/conanfile.py +++ b/conanfile.py @@ -82,6 +82,7 @@ class MPUnitsConan(ConanFile): "example/*", "CMakeLists.txt", ) + package_type = "header-library" no_copy_source = True @property @@ -203,10 +204,6 @@ def config_options(self): self._set_default_option(key) def configure(self): - if self.options.cxx_modules: - self.package_type = "static-library" - else: - self.package_type = "header-library" if self.options.freestanding: self.options.rm_safe("std_format")