Skip to content

Commit

Permalink
Add openmp as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
phbasler committed Jun 4, 2024
1 parent de733a0 commit 4c44f41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def build_requirements(self):
def requirements(self):
self.requires("eigen/3.4.0", transitive_headers=True)

if self.options.openmp:
self.requires("llvm-openmp/17.0.6", transitive_headers=True)

def set_version(self):
content = load(self, os.path.join(self.recipe_folder, "CMakeLists.txt"))
value = re.search(r"set\(libcmaes_VERSION (.*)\)", content)
Expand Down

0 comments on commit 4c44f41

Please sign in to comment.