ZeroMQConfig.cmake.in 706 Bytes
Newer Older
1
# ZeroMQ cmake module
2 3 4 5 6 7 8 9
#
# The following import targets are created
#
# ::
#
#   libzmq-static
#   libzmq
#
10 11 12 13 14 15 16 17 18
# 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@

19 20 21
if(NOT TARGET libzmq AND NOT TARGET libzmq-static)
  include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")

22 23 24 25
  get_target_property(@PROJECT_NAME@_INCLUDE_DIR libzmq INTERFACE_INCLUDE_DIRECTORIES)
  get_target_property(@PROJECT_NAME@_LIBRARY libzmq LOCATION)
  get_target_property(@PROJECT_NAME@_STATIC_LIBRARY libzmq-static LOCATION)
endif()