disable tests to fix build. (#19697)

This commit is contained in:
Andrew W Elble 2020-11-03 13:34:17 -05:00 committed by GitHub
parent 001f90f411
commit b9d12c93ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,10 @@ class Cppzmq(CMakePackage):
depends_on('cmake@3.0.0:', type='build')
depends_on('libzmq')
depends_on('libzmq@4.2.2', when='@4.2.2:4.2.3')
def cmake_args(self):
args = []
# https://github.com/zeromq/cppzmq/issues/422
# https://github.com/zeromq/cppzmq/pull/288
args.append('-DCPPZMQ_BUILD_TESTS=OFF')
return args