-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* find_package? * cmake_install_libdir * use CMAKE_CURRENT_SOURCE_DIR for BUILD_INTERFACE * export target command * export config * export dest * test install to multiple locations * export config to prefix/share/rmqcpp * rm export and only install * export targets * add Config.cmake.in * make target_link_libraries interface instead of public * find_dependency ZLIB * find_dependency in cmake.in, change ns * revert explicit find_dependency * find_package in cmake.in * namespace rmqcpp::
- Loading branch information
1 parent
cb27b7a
commit 093aaa1
Showing
2 changed files
with
28 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,11 @@ | ||
@PACKAGE_INIT@ | ||
|
||
if(NOT TARGET rmqcpp) | ||
foreach(dep bal;OpenSSL;ZLIB) | ||
find_package(${dep}) | ||
endforeach() | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/rmqcppTargets.cmake") | ||
|
||
check_required_components(rmqcpp) |