Skip to content

Commit

Permalink
update options
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Nov 7, 2024
1 parent ee3beaa commit a7c3e84
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ class H5CppConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
options = {
"shared": [True, False],
"&:shared": [True, False],
"fPIC": [True, False],
"with_mpi": [True, False],
"with_boost": [True, False],
"install_prefix": [None, "ANY"]
"&:with_mpi": [True, False],
"&:with_boost": [True, False],
"&:install_prefix": [None, "ANY"]
}
default_options = {
"shared": False,
"&:shared": False,
"fPIC": True,
"with_mpi": False,
"with_boost": True,
"&:with_mpi": False,
"&:with_boost": True,
"hdf5/*:hl": True,
"hdf5/*:parallel": False,
"hdf5/*:enable_cxx": False,
Expand Down Expand Up @@ -54,7 +54,6 @@ def requirements(self):
self.requires("boost/1.81.0")
if self.options.get_safe("with_mpi", False):
self.requires("openmpi/4.1.0")
self.requires("openssh/9.9p1")

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

0 comments on commit a7c3e84

Please sign in to comment.