Skip to content

Commit

Permalink
dont use openmp in cmaes on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phbasler committed Jul 14, 2024
1 parent 85365c5 commit ffdeaad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ def build(self):
def package(self):
cmake = CMake(self)
cmake.install()

def configure(self):
if self.settings.os == "Windows":
self.options["cmaes"].openmp = False

def package_id(self):
del self.info.options.EnableTests
Expand Down

0 comments on commit ffdeaad

Please sign in to comment.