-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
SET(_ASIO_PROTOCOLS_REQUIRED_VARS ASIO_PROTOCOLS_INCLUDE_DIR ASIO_PROTOCOLS_LIBRARY ) | ||
|
||
FIND_PATH( | ||
ASIO_PROTOCOLS_INCLUDE_DIR | ||
NAMES net/amqp.h | ||
HINTS ${ASIO_PROTOCOLS_DIR}/include | ||
) | ||
|
||
FIND_LIBRARY( | ||
ASIO_PROTOCOLS_LIBRARY | ||
NAMES asio-protocols | ||
HINTS ${ASIO_PROTOCOLS_DIR}/lib | ||
) | ||
|
||
SET(ASIO_PROTOCOLS_PROCESS_INCLUDES ASIO_PROTOCOLS_INCLUDE_DIR) | ||
SET(ASIO_PROTOCOLS_PROCESS_LIBS ASIO_PROTOCOLS_LIBRARY) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS( | ||
ASIO_PROTOCOLS | ||
DEFAULT_MSG | ||
${_ASIO_PROTOCOLS_REQUIRED_VARS} | ||
) | ||
|