Skip to content

Commit

Permalink
Fix sources for local conanfile.py to use local files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean1995 committed Dec 6, 2023
1 parent c3b01b7 commit 965e644
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ class PROPOSALConan(ConanFile):
"with_documentation": False,
}

exports_sources = "*"

@property
def _min_cppstd(self):
return "14"
Expand Down Expand Up @@ -94,9 +96,6 @@ def validate(self):
f"{self.ref} requires C++{self._min_cppstd}, which your compiler does not support"
)

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

def build(self):
cmake = CMake(self)
cmake.configure()
Expand Down

0 comments on commit 965e644

Please sign in to comment.