Problem: libzmq builds with tests

libzmq build with default settings now which build all the tests and
performance tools. This is not required for cppzmq build and slows down
it only.

Solution: disable tests build for libzmq and make it release only.
This commit is contained in:
Pawel Kurdybacha
2018-05-12 18:36:38 +01:00
parent f35cbe2930
commit 3dc20bb05a
3 changed files with 16 additions and 9 deletions

View File

@@ -15,7 +15,8 @@ target_link_libraries(
cppzmq
)
include_directories(${ZeroMQ_INCLUDE_DIR} ${cppzmq_INCLUDE_DIR})
target_include_directories(demo PRIVATE ${cppzmq_INCLUDE_DIR}
${ZeroMQ_INCLUDE_DIR})
add_test(
NAME