Skip to content

Commit

Permalink
Remove test_v1_package, fix configure method
Browse files Browse the repository at this point in the history
  • Loading branch information
jcar87 committed Feb 12, 2024
1 parent a789d07 commit cf67efe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
7 changes: 4 additions & 3 deletions recipes/dnet/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ def config_options(self):
del self.options.fPIC

def configure(self):
self.options.rm_safe("fPIC")
self.settings.rm_safe("compiler.libcxx")
if self.options.shared:
self.options.rm_safe("fPIC")
# This is a pure C project
self.settings.rm_safe("compiler.cppstd")
self.settings.rm_safe("compiler.libcxx")

def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True)

def generate(self):
tc = CMakeToolchain(self)

tc.generate()

deps = CMakeDeps(self)
Expand Down
8 changes: 0 additions & 8 deletions recipes/dnet/all/test_v1_package/CMakeLists.txt

This file was deleted.

17 changes: 0 additions & 17 deletions recipes/dnet/all/test_v1_package/conanfile.py

This file was deleted.

0 comments on commit cf67efe

Please sign in to comment.