diff --git a/conanfile.py b/conanfile.py index e8ae447c..29d86224 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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