Skip to content

Commit

Permalink
Revert "build: package_type is dynamically set in conanfile.py depe…
Browse files Browse the repository at this point in the history
…nding if we build modules or not"

This reverts commit bbdb750.
  • Loading branch information
mpusz committed Sep 20, 2024
1 parent 1933aad commit 4492d42
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class MPUnitsConan(ConanFile):
"example/*",
"CMakeLists.txt",
)
package_type = "header-library"
no_copy_source = True

@property
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit 4492d42

Please sign in to comment.