Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
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
laser
Commits
939b8401
Commit
939b8401
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Renamed _INCLUDE_DIR -> _INCLUDE_DIRS & _LIBRARY -> _LIBRARIES
parent
b0d23ade
No related branches found
Branches containing commit
No related tags found
3 merge requests
!30
Release after RAL
,
!29
After 2nd RAL submission
,
!3
Resolve "new processor: pc matching for demo"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_modules/wolflaserConfig.cmake
+15
-15
15 additions, 15 deletions
cmake_modules/wolflaserConfig.cmake
with
15 additions
and
15 deletions
cmake_modules/wolflaserConfig.cmake
+
15
−
15
View file @
939b8401
#edit the following line to add the librarie's header files
#edit the following line to add the librarie's header files
FIND_PATH
(
FIND_PATH
(
wolflaser_INCLUDE_DIR
wolflaser_INCLUDE_DIR
S
NAMES laser.found
NAMES laser.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_laser
)
PATHS /usr/local/include/iri-algorithms/wolf/plugin_laser
)
IF
(
wolflaser_INCLUDE_DIR
)
IF
(
wolflaser_INCLUDE_DIR
S
)
MESSAGE
(
"Found laser include dirs:
${
wolflaser_INCLUDE_DIR
}
"
)
MESSAGE
(
"Found laser include dirs:
${
wolflaser_INCLUDE_DIR
S
}
"
)
ELSE
(
wolflaser_INCLUDE_DIR
)
ELSE
(
wolflaser_INCLUDE_DIR
S
)
MESSAGE
(
"Couldn't find laser include dirs"
)
MESSAGE
(
"Couldn't find laser include dirs"
)
ENDIF
(
wolflaser_INCLUDE_DIR
)
ENDIF
(
wolflaser_INCLUDE_DIR
S
)
FIND_LIBRARY
(
FIND_LIBRARY
(
wolflaser_LIBRAR
Y
wolflaser_LIBRAR
IES
NAMES libwolflaser.so
NAMES libwolflaser.so
PATHS /usr/local/lib/iri-algorithms
)
PATHS /usr/local/lib/iri-algorithms
)
IF
(
wolflaser_LIBRAR
Y
)
IF
(
wolflaser_LIBRAR
IES
)
MESSAGE
(
"Found laser lib:
${
wolflaser_LIBRAR
Y
}
"
)
MESSAGE
(
"Found laser lib:
${
wolflaser_LIBRAR
IES
}
"
)
ELSE
(
wolflaser_LIBRAR
Y
)
ELSE
(
wolflaser_LIBRAR
IES
)
MESSAGE
(
"Couldn't find wolf laser lib"
)
MESSAGE
(
"Couldn't find wolf laser lib"
)
ENDIF
(
wolflaser_LIBRAR
Y
)
ENDIF
(
wolflaser_LIBRAR
IES
)
IF
(
wolflaser_INCLUDE_DIR AND wolflaser_LIBRAR
Y
)
IF
(
wolflaser_INCLUDE_DIR
S
AND wolflaser_LIBRAR
IES
)
SET
(
wolflaser_FOUND TRUE
)
SET
(
wolflaser_FOUND TRUE
)
ELSE
(
wolflaser_INCLUDE_DIR AND wolflaser_LIBRAR
Y
)
ELSE
(
wolflaser_INCLUDE_DIR
S
AND wolflaser_LIBRAR
IES
)
set
(
wolflaser_FOUND FALSE
)
set
(
wolflaser_FOUND FALSE
)
ENDIF
(
wolflaser_INCLUDE_DIR AND wolflaser_LIBRAR
Y
)
ENDIF
(
wolflaser_INCLUDE_DIR
S
AND wolflaser_LIBRAR
IES
)
IF
(
wolflaser_FOUND
)
IF
(
wolflaser_FOUND
)
IF
(
NOT wolflaser_FIND_QUIETLY
)
IF
(
NOT wolflaser_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found laser:
${
wolflaser_LIBRAR
Y
}
"
)
MESSAGE
(
STATUS
"Found laser:
${
wolflaser_LIBRAR
IES
}
"
)
ENDIF
(
NOT wolflaser_FIND_QUIETLY
)
ENDIF
(
NOT wolflaser_FIND_QUIETLY
)
ELSE
(
wolflaser_FOUND
)
ELSE
(
wolflaser_FOUND
)
IF
(
wolflaser_FIND_REQUIRED
)
IF
(
wolflaser_FIND_REQUIRED
)
...
@@ -38,7 +38,7 @@ ENDIF (wolflaser_FOUND)
...
@@ -38,7 +38,7 @@ ENDIF (wolflaser_FOUND)
macro
(
wolf_report_not_found REASON_MSG
)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolflaser_FOUND FALSE
)
set
(
wolflaser_FOUND FALSE
)
unset
(
wolflaser_INCLUDE_DIR
)
unset
(
wolflaser_INCLUDE_DIR
S
)
unset
(
wolflaser_LIBRARIES
)
unset
(
wolflaser_LIBRARIES
)
# Reset the CMake module path to its state when this script was called.
# 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