This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include building of msi_amqp_basic_publish. RITDEV-277
- Loading branch information
1 parent
8d971fd
commit ef9e5e9
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This CMake file tries to find the the RabbitMQ library | ||
# The following variables are set: | ||
# RABBITMQ_FOUND - System has RabbitMQ client | ||
# RABBITMQ_LIBRARIES - The RabbitMQ client library | ||
# RABBITMQ_INCLUDE_DIRS - The RabbitMQ client INCLUDE_DIRS | ||
|
||
include(CheckCSourceCompiles) | ||
find_library(RABBITMQ_LIBRARIES NAMES rabbitmq) | ||
find_path(RABBITMQ_INCLUDE_DIRS amqp.h) | ||
|
||
if(${RABBITMQ_LIBRARIES} MATCHES "NOTFOUND") | ||
set(Rabbitmq_FOUND FALSE CACHE INTERNAL "") | ||
message(STATUS "RabbitMQ library not found.") | ||
unset(RABBITMQ_LIBRARIES) | ||
else() | ||
set(Rabbitmq_FOUND TRUE CACHE INTERNAL "") | ||
message(STATUS "Found RabbitMQ library: ${RABBITMQ_LIBRARIES}") | ||
endif() | ||
|
||
set(CMAKE_REQUIRED_INCLUDES ${RABBITMQ_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters