Files
maszyna/CMake_modules/Findcppzmq.cmake
2020-03-29 22:14:47 +02:00

10 lines
313 B
CMake

find_path(cppzmq_INCLUDE_DIR zmq.hpp)
find_library(cppzmq_LIBRARY zmq)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(cppzmq DEFAULT_MSG cppzmq_LIBRARY cppzmq_INCLUDE_DIR)
if(cppzmq_FOUND)
set(cppzmq_LIBRARIES ${cppzmq_LIBRARY})
set(cppzmq_INCLUDE_DIRS ${cppzmq_INCLUDE_DIR})
endif()