mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 07:55:58 +00:00
Fix conan build
This commit is contained in:
@@ -32,7 +32,7 @@ class FimdlpConan(ConanFile):
|
||||
# Sources are located in the same place as this recipe, copy them to the recipe
|
||||
exports_sources = "CMakeLists.txt", "src/*", "sample/*", "tests/*", "config/*", "fimdlpConfig.cmake.in"
|
||||
|
||||
def init(self):
|
||||
def set_version(self):
|
||||
content = load(self, "CMakeLists.txt")
|
||||
version_pattern = re.compile(r'project\s*\([^\)]*VERSION\s+([0-9]+\.[0-9]+\.[0-9]+)', re.IGNORECASE | re.DOTALL)
|
||||
match = version_pattern.search(content)
|
||||
|
Reference in New Issue
Block a user