-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lib is findable with find_package(io1 COMPONENTS money) and no longer…
… with find_package(io1-money)
- Loading branch information
1 parent
caec244
commit 6e880c5
Showing
5 changed files
with
44 additions
and
21 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
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
check_required_components("@PROJECT_NAME@") | ||
if (TARGET io1::@PROJECT_NAME@) | ||
string(REGEX REPLACE "^io1-" "" ALIAS_TARGET_NAME @PROJECT_NAME@) | ||
add_library(io1::${ALIAS_TARGET_NAME} ALIAS io1::@PROJECT_NAME@) | ||
endif() | ||
foreach(component ${io1_FIND_COMPONENTS}) | ||
include(${CMAKE_CURRENT_LIST_DIR}/io1-${component}.cmake) | ||
if(TARGET io1::${component}) | ||
set(io1_${component}_FOUND TRUE) | ||
endif() | ||
endforeach() | ||
|
||
check_required_components(io1) |
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