diff --git a/recipes/cli11/all/conanfile.py b/recipes/cli11/all/conanfile.py index 1767136a8a658..1b13a13aca27c 100644 --- a/recipes/cli11/all/conanfile.py +++ b/recipes/cli11/all/conanfile.py @@ -33,12 +33,11 @@ def _min_cppstd(self): def _supports_compilation(self): return Version(self.version) >= "2.3" - def config_options(self): + def configure(self): if not self._supports_compilation: + # TODO: Back to config_options after Conan 1 freeze del self.options.header_only - - def configure(self): - if self._supports_compilation and not self.options.header_only: + elif not self.options.header_only: self.package_type = "static-library" def layout(self):