How to add build-only dependencies in Conan recipe
Just add build_requires = ('dep1/version1', 'dep1/version2')
to your conanfile.py
:
class MyPackageConan(ConanFile):
# ...
requires = ("openssl/1.1.1l", )
build_requires = ("jsoncpp/1.9.4", )