Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
vision
Commits
07bd829b
Commit
07bd829b
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Renamed _INCLUDE_DIR -> _INCLUDE_DIRS & _LIBRARY -> _LIBRARIES
parent
4dc77df4
No related branches found
No related tags found
1 merge request
!24
After 2nd RAL submission
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_modules/wolfvisionConfig.cmake
+16
-16
16 additions, 16 deletions
cmake_modules/wolfvisionConfig.cmake
with
16 additions
and
16 deletions
cmake_modules/wolfvisionConfig.cmake
+
16
−
16
View file @
07bd829b
#edit the following line to add the librarie's header files
FIND_PATH
(
wolfvision_INCLUDE_DIR
wolfvision_INCLUDE_DIR
S
NAMES vision.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_vision
)
IF
(
wolfvision_INCLUDE_DIR
)
MESSAGE
(
"Found vision include dirs:
${
wolfvision_INCLUDE_DIR
}
"
)
ELSE
(
wolfvision_INCLUDE_DIR
)
IF
(
wolfvision_INCLUDE_DIR
S
)
MESSAGE
(
"Found vision include dirs:
${
wolfvision_INCLUDE_DIR
S
}
"
)
ELSE
(
wolfvision_INCLUDE_DIR
S
)
MESSAGE
(
"Couldn't find vision include dirs"
)
ENDIF
(
wolfvision_INCLUDE_DIR
)
ENDIF
(
wolfvision_INCLUDE_DIR
S
)
FIND_LIBRARY
(
wolfvision_LIBRAR
Y
NAMES libwolfvision.so
wolfvision_LIBRAR
IES
NAMES libwolfvision.so
libwolfvision.dylib
PATHS /usr/local/lib/iri-algorithms
)
IF
(
wolfvision_LIBRAR
Y
)
MESSAGE
(
"Found vision lib:
${
wolfvision_LIBRAR
Y
}
"
)
ELSE
(
wolfvision_LIBRAR
Y
)
IF
(
wolfvision_LIBRAR
IES
)
MESSAGE
(
"Found vision lib:
${
wolfvision_LIBRAR
IES
}
"
)
ELSE
(
wolfvision_LIBRAR
IES
)
MESSAGE
(
"Couldn't find wolf vision lib"
)
ENDIF
(
wolfvision_LIBRAR
Y
)
ENDIF
(
wolfvision_LIBRAR
IES
)
IF
(
wolfvision_INCLUDE_DIR AND wolfvision_LIBRAR
Y
)
IF
(
wolfvision_INCLUDE_DIR
S
AND wolfvision_LIBRAR
IES
)
SET
(
wolfvision_FOUND TRUE
)
ELSE
(
wolfvision_INCLUDE_DIR AND wolfvision_LIBRAR
Y
)
ELSE
(
wolfvision_INCLUDE_DIR
S
AND wolfvision_LIBRAR
IES
)
set
(
wolfvision_FOUND FALSE
)
ENDIF
(
wolfvision_INCLUDE_DIR AND wolfvision_LIBRAR
Y
)
ENDIF
(
wolfvision_INCLUDE_DIR
S
AND wolfvision_LIBRAR
IES
)
IF
(
wolfvision_FOUND
)
IF
(
NOT wolfvision_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found vision:
${
wolfvision_LIBRAR
Y
}
"
)
MESSAGE
(
STATUS
"Found vision:
${
wolfvision_LIBRAR
IES
}
"
)
ENDIF
(
NOT wolfvision_FIND_QUIETLY
)
ELSE
(
wolfvision_FOUND
)
IF
(
wolfvision_FIND_REQUIRED
)
...
...
@@ -38,7 +38,7 @@ ENDIF (wolfvision_FOUND)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolfvision_FOUND FALSE
)
unset
(
wolfvision_INCLUDE_DIR
)
unset
(
wolfvision_INCLUDE_DIR
S
)
unset
(
wolfvision_LIBRARIES
)
# Reset the CMake module path to its state when this script was called.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment