forked from lthn/blockchain
Add boost option to disable tests and set C++ standard to C++17 in conanfile.py
This commit is contained in:
parent
5acd82799d
commit
c5ebeeca06
1 changed files with 6 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ class BlockchainConan(ConanFile):
|
|||
}
|
||||
default_options = {
|
||||
"static": False,
|
||||
"testnet": False
|
||||
"testnet": False,
|
||||
"boost/*:without_test": True
|
||||
}
|
||||
|
||||
tool_requires = "ccache/4.11"
|
||||
|
|
@ -28,6 +29,10 @@ class BlockchainConan(ConanFile):
|
|||
"jwt-cpp/0.7.1"
|
||||
]
|
||||
|
||||
def configure(self):
|
||||
if self.settings.compiler.get_safe("cppstd"):
|
||||
self.settings.compiler.cppstd = "17"
|
||||
|
||||
def generate(self):
|
||||
tc = CMakeToolchain(self)
|
||||
tc.user_presets_path = False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue