forked from ros-industrial/industrial_core
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an updated version of the workaround committed in 9df4697. Instead of requiring dependent packages to invoke the function defined in the CFG_EXTRAS cmake snippet, the snippet now sets up the linker path directly. Dependent packages now only need to remember to explicitly list their dependency on `industrial_robot_client` and `simple_message` in their `add_library(..)` statements.
- Loading branch information
1 parent
85540e3
commit a1c9b6a
Showing
5 changed files
with
40 additions
and
18 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,10 @@ | ||
# | ||
# Temporary workaround for issue ros-industrial/industrial_core#46. | ||
# | ||
message(STATUS "industrial_robot_client: work around for #46") | ||
if (DEFINED industrial_robot_client_LIBRARY_DIRS) | ||
else() | ||
message(FATAL_ERROR "industrial_robot_client_LIBRARY_DIRS not set, " | ||
"have you find_package()-ed it?") | ||
endif() | ||
link_directories(${industrial_robot_client_LIBRARY_DIRS}) |
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,10 @@ | ||
# | ||
# Temporary workaround for issue ros-industrial/industrial_core#46. | ||
# | ||
message(STATUS "simple_message: work around for #46") | ||
if (DEFINED simple_message_LIBRARY_DIRS) | ||
else() | ||
message(FATAL_ERROR "simple_message_LIBRARY_DIRS not set, " | ||
"have you find_package()-ed it?") | ||
endif() | ||
link_directories(${simple_message_LIBRARY_DIRS}) |
This file was deleted.
Oops, something went wrong.