-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'single-library' into 'main'
Create a single libifm3d instead of multiple sublibraries See merge request syntron/support/csr/ifm3d/ifm3d!380
- Loading branch information
Showing
74 changed files
with
684 additions
and
2,154 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
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,26 +1,3 @@ | ||
# 'commons' component is required | ||
if(NOT TARGET ifm3d::common) | ||
include("${CMAKE_CURRENT_LIST_DIR}/ifm3d-common-targets.cmake") | ||
endif() | ||
|
||
if(NOT TARGET ifm3d::common) | ||
set(ifm3d_FOUND False) | ||
message(FATAL_ERROR | ||
"ifm3d installation is broken, common targets not found!" | ||
) | ||
else() | ||
message(STATUS "ifm3d found component: common") | ||
foreach(_comp ${ifm3d_FIND_COMPONENTS}) | ||
if(NOT "${_comp}" MATCHES "common") | ||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/ifm3d-${_comp}-targets.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/ifm3d-${_comp}-targets.cmake") | ||
message(STATUS "ifm3d found component: ${_comp}") | ||
else() | ||
if(ifm3d_FIND_REQUIRED_${_comp}) | ||
set(ifm3d_FOUND False) | ||
message(WARNING "ifm3d could not find component: ${_comp}") | ||
endif() | ||
endif() | ||
endif() | ||
endforeach() | ||
if(NOT TARGET ifm3d::ifm3d) | ||
include("${CMAKE_CURRENT_LIST_DIR}/ifm3d-targets.cmake") | ||
endif() |
Oops, something went wrong.