2017-01-06 22:41:29 +01:00
|
|
|
# ZeroMQ cmake module
|
2017-04-04 10:34:28 +02:00
|
|
|
#
|
|
|
|
# The following import targets are created
|
|
|
|
#
|
|
|
|
# ::
|
|
|
|
#
|
|
|
|
# libzmq-static
|
|
|
|
# libzmq
|
|
|
|
#
|
2017-01-06 22:41:29 +01:00
|
|
|
# This module sets the following variables in your project::
|
|
|
|
#
|
|
|
|
# ZeroMQ_FOUND - true if ZeroMQ found on the system
|
|
|
|
# ZeroMQ_INCLUDE_DIR - the directory containing ZeroMQ headers
|
|
|
|
# ZeroMQ_LIBRARY -
|
|
|
|
# ZeroMQ_STATIC_LIBRARY
|
|
|
|
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
2017-04-04 10:34:28 +02:00
|
|
|
if(NOT TARGET libzmq AND NOT TARGET libzmq-static)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
|
|
|
2019-05-08 11:19:39 +02:00
|
|
|
if (TARGET libzmq)
|
|
|
|
get_target_property(@PROJECT_NAME@_INCLUDE_DIR libzmq INTERFACE_INCLUDE_DIRECTORIES)
|
2019-07-09 07:50:24 +02:00
|
|
|
else ()
|
|
|
|
get_target_property(@PROJECT_NAME@_INCLUDE_DIR libzmq-static INTERFACE_INCLUDE_DIRECTORIES)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (TARGET libzmq)
|
2019-05-08 11:19:39 +02:00
|
|
|
get_target_property(@PROJECT_NAME@_LIBRARY libzmq LOCATION)
|
|
|
|
endif()
|
|
|
|
if (TARGET libzmq-static)
|
|
|
|
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY libzmq-static LOCATION)
|
|
|
|
endif()
|
2017-04-05 10:53:45 +02:00
|
|
|
endif()
|