Skip to content
Snippets Groups Projects
Commit 0a801e08 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #7336: Locate paths to qpid executables

parent 2d1367ba
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
# QPID_LIBRARY - the QPID library (cached) # QPID_LIBRARY - the QPID library (cached)
# QPID_LIBRARIES - the QPID libraries # QPID_LIBRARIES - the QPID libraries
# (identical to QPID_LIBRARY) # (identical to QPID_LIBRARY)
# QPID_RECEIVE_EXECUTABLE - the full path of qpid-receive
# QPID_SEND_EXECUTABLE - the full path of qpid-send
# QPID_STAT_EXECUTABLE - the full path of qpid-stat
# Copyright (C) 2015 # Copyright (C) 2015
# ASTRON (Netherlands Institute for Radio Astronomy) # ASTRON (Netherlands Institute for Radio Astronomy)
...@@ -39,6 +42,13 @@ if(NOT QPID_FOUND) ...@@ -39,6 +42,13 @@ if(NOT QPID_FOUND)
find_library(QPID_TYPES_LIBRARY qpidtypes find_library(QPID_TYPES_LIBRARY qpidtypes
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES lib) HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES lib)
find_program(QPID_RECEIVE_EXECUTABLE qpid-receive
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES bin)
find_program(QPID_SEND_EXECUTABLE qpid-send
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES bin)
find_program(QPID_STAT_EXECUTABLE qpid-stat
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES bin)
set(QPID_LIBRARY ${QPID_MESSAGING_LIBRARY} ${QPID_TYPES_LIBRARY}) set(QPID_LIBRARY ${QPID_MESSAGING_LIBRARY} ${QPID_TYPES_LIBRARY})
mark_as_advanced(QPID_INCLUDE_DIR QPID_LIBRARY) mark_as_advanced(QPID_INCLUDE_DIR QPID_LIBRARY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment