Skip to content

Commit

Permalink
update conan config
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Nov 7, 2024
1 parent 5ec15a9 commit 13b7f2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def build_requirements(self):
self.build_requires("catch2/3.3.2")
self.build_requires("ninja/1.10.2")
self.build_requires("zlib/1.2.13")
if self.options.get_safe("with_mpi", False):
self.requires("openmpi/4.1.0")

def config_options(self):
if self.settings.os == "Windows":
Expand All @@ -52,8 +54,8 @@ def requirements(self):
self.requires("boost/1.81.0")
else:
self.requires("boost/1.81.0")
if self.options.get_safe("with_mpi", False):
self.requires("openmpi/4.1.0")
# if self.options.get_safe("with_mpi", False):
# self.requires("openmpi/4.1.0")

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

0 comments on commit 13b7f2b

Please sign in to comment.