-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: improved tcp_pubsubConfig.cmake with find_dependency (#20)
- Replaced find_package with find_dependency call that is designed to be used in Package configuration files - Replaced configured install-dir with a lookup in the CURRENT_LIST_DIR
- Loading branch information
1 parent
d83c7c3
commit 993a4fe
Showing
2 changed files
with
5 additions
and
3 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
@PACKAGE_INIT@ | ||
|
||
INCLUDE("@PACKAGE_TCP_PUBSUB_INSTALL_CMAKE_DIR@/tcp_pubsubTargets.cmake") | ||
find_package(Threads) | ||
include(CMakeFindDependencyMacro) | ||
find_dependency(Threads) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/tcp_pubsubTargets.cmake") |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
set(TCP_PUBSUB_VERSION_MAJOR 1) | ||
set(TCP_PUBSUB_VERSION_MINOR 0) | ||
set(TCP_PUBSUB_VERSION_PATCH 3) | ||
set(TCP_PUBSUB_VERSION_PATCH 4) |