# This file is part of MXE. See LICENSE.md for licensing information.# partial module - included by src/cmake/CMakeLists.txtset(TGT test-${PKG}-cmake)enable_language(CXX)add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)find_package(ZeroMQ REQUIRED)if (BUILD_STATIC) target_link_libraries(${TGT} libzmq-static)else () target_link_libraries(${TGT} libzmq)endif ()install(TARGETS ${TGT} DESTINATION bin)
# This file is part of MXE. See LICENSE.md for licensing information.
# partial module - included by src/cmake/CMakeLists.txt
set(TGT test-${PKG}-cmake)
enable_language(CXX)
add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
find_package(ZeroMQ REQUIRED)
if (BUILD_STATIC)
target_link_libraries(${TGT} libzmq-static)
else ()
target_link_libraries(${TGT} libzmq)
endif ()
install(TARGETS ${TGT} DESTINATION bin)