From e39e103b8813e82de2cdcd0dad50491c765625da Mon Sep 17 00:00:00 2001 From: sbrptdev2 <181986753+sbrptdev2@users.noreply.github.com> Date: Sun, 27 Oct 2024 14:31:25 +0100 Subject: [PATCH] Fixed msgpack CMake namespace --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d589a86..cca347b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,9 +105,9 @@ if(UNIX AND NOT APPLE) # Find MessagePack - find_package(Msgpack REQUIRED) + find_package(msgpack REQUIRED) - if(CZMQ_FOUND AND Msgpack_FOUND AND LZMQ_FOUND) + if(CZMQ_FOUND AND msgpack_FOUND AND LZMQ_FOUND) message(STATUS "CZeroMQ found: ${CZMQ_LIBRARIES}") message(STATUS "Msgpack found: ${MSGPACK_LIBRARIES}") message(STATUS "LibZMQ found: ${LZMQ_LIBRARIES}") @@ -119,7 +119,7 @@ if(UNIX AND NOT APPLE) target_link_libraries(hackrf_sweeper_zmqpub ${TOOLS_LINK_LIBS} ${CZMQ_LIBRARIES} ${LZMQ_LIBRARIES} hackrf_sweeper pthread) install(TARGETS hackrf_sweeper_zmqpub RUNTIME DESTINATION ${INSTALL_DEFAULT_BINDIR}) else() - message(WARNING "ZeroMQ not found. hackrf_sweeper_zmqpub will not be built.") + message(WARNING "hackrf_sweeper_zmqpub will not be built, missing deps.") endif() endif()