diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-05-03 00:48:24 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-05-03 00:48:24 +0100 |
commit | 4029d621150ffef5352953f6f8647958e628a1d1 (patch) | |
tree | c52dc12f94b7b4b8ac2e1e0e2a4a07e2d0784a09 /tests | |
parent | Merge pull request #6451 (diff) | |
download | monero-4029d621150ffef5352953f6f8647958e628a1d1.tar.xz |
build: rely on pkg-config to find zmqdev/beber/pgm
if zmq was built with libnorm, libproto or libpgm, pkg-config can inform
us directly instead of having to find them.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/trezor/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/unit_tests/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/trezor/CMakeLists.txt b/tests/trezor/CMakeLists.txt index 15ed5668d..60fdb0d11 100644 --- a/tests/trezor/CMakeLists.txt +++ b/tests/trezor/CMakeLists.txt @@ -62,7 +62,7 @@ target_link_libraries(trezor_tests ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY} - ${ZMQ_LIB} + ${ZMQ_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_LIBRARIES}) diff --git a/tests/unit_tests/CMakeLists.txt b/tests/unit_tests/CMakeLists.txt index 9c24a5ec7..28349a536 100644 --- a/tests/unit_tests/CMakeLists.txt +++ b/tests/unit_tests/CMakeLists.txt @@ -122,7 +122,7 @@ target_link_libraries(unit_tests ${GTEST_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_LIBRARIES} - ${ZMQ_LIB}) + ${ZMQ_LIBRARIES}) set_property(TARGET unit_tests PROPERTY FOLDER "tests") |