Skip to content

Commit

Permalink
Fixed msgpack CMake namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrptdev2 committed Oct 27, 2024
1 parent 0eae6f8 commit e39e103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand All @@ -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()
Expand Down

0 comments on commit e39e103

Please sign in to comment.