aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-05-03 00:48:24 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-05-03 00:48:24 +0100
commit4029d621150ffef5352953f6f8647958e628a1d1 (patch)
treec52dc12f94b7b4b8ac2e1e0e2a4a07e2d0784a09 /tests
parentMerge pull request #6451 (diff)
downloadmonero-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.txt2
-rw-r--r--tests/unit_tests/CMakeLists.txt2
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")