Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
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
imu
Commits
d745f482
Commit
d745f482
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Renamed _INCLUDE_DIR -> _INCLUDE_DIRS & _LIBRARY -> _LIBRARIES
parent
8fbb3669
No related branches found
No related tags found
2 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_modules/wolfIMUConfig.cmake
+15
-15
15 additions, 15 deletions
cmake_modules/wolfIMUConfig.cmake
with
15 additions
and
15 deletions
cmake_modules/wolfIMUConfig.cmake
+
15
−
15
View file @
d745f482
#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
(
wolfIMU_INCLUDE_DIR
wolfIMU_INCLUDE_DIR
S
NAMES IMU.found
NAMES IMU.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_IMU
)
PATHS /usr/local/include/iri-algorithms/wolf/plugin_IMU
)
IF
(
wolfIMU_INCLUDE_DIR
)
IF
(
wolfIMU_INCLUDE_DIR
S
)
MESSAGE
(
"Found wolf IMU include dirs:
${
wolfIMU_INCLUDE_DIR
}
"
)
MESSAGE
(
"Found wolf IMU include dirs:
${
wolfIMU_INCLUDE_DIR
S
}
"
)
ELSE
(
wolfIMU_INCLUDE_DIR
)
ELSE
(
wolfIMU_INCLUDE_DIR
S
)
MESSAGE
(
"Couldn't find wolf IMU include dirs"
)
MESSAGE
(
"Couldn't find wolf IMU include dirs"
)
ENDIF
(
wolfIMU_INCLUDE_DIR
)
ENDIF
(
wolfIMU_INCLUDE_DIR
S
)
FIND_LIBRARY
(
FIND_LIBRARY
(
wolfIMU_LIBRAR
Y
wolfIMU_LIBRAR
IES
NAMES libwolfIMU.so libwolfIMU.dylib
NAMES libwolfIMU.so libwolfIMU.dylib
PATHS /usr/local/lib/iri-algorithms
)
PATHS /usr/local/lib/iri-algorithms
)
IF
(
wolfIMU_LIBRAR
Y
)
IF
(
wolfIMU_LIBRAR
IES
)
MESSAGE
(
"Found wolf IMU lib:
${
wolfIMU_LIBRAR
Y
}
"
)
MESSAGE
(
"Found wolf IMU lib:
${
wolfIMU_LIBRAR
IES
}
"
)
ELSE
(
wolfIMU_LIBRAR
Y
)
ELSE
(
wolfIMU_LIBRAR
IES
)
MESSAGE
(
"Couldn't find wolf IMU lib"
)
MESSAGE
(
"Couldn't find wolf IMU lib"
)
ENDIF
(
wolfIMU_LIBRAR
Y
)
ENDIF
(
wolfIMU_LIBRAR
IES
)
IF
(
wolfIMU_INCLUDE_DIR AND wolfIMU_LIBRAR
Y
)
IF
(
wolfIMU_INCLUDE_DIR
S
AND wolfIMU_LIBRAR
IES
)
SET
(
wolfIMU_FOUND TRUE
)
SET
(
wolfIMU_FOUND TRUE
)
ELSE
(
wolfIMU_INCLUDE_DIR AND wolfIMU_LIBRAR
Y
)
ELSE
(
wolfIMU_INCLUDE_DIR
S
AND wolfIMU_LIBRAR
IES
)
set
(
wolfIMU_FOUND FALSE
)
set
(
wolfIMU_FOUND FALSE
)
ENDIF
(
wolfIMU_INCLUDE_DIR AND wolfIMU_LIBRAR
Y
)
ENDIF
(
wolfIMU_INCLUDE_DIR
S
AND wolfIMU_LIBRAR
IES
)
IF
(
wolfIMU_FOUND
)
IF
(
wolfIMU_FOUND
)
IF
(
NOT wolfIMU_FIND_QUIETLY
)
IF
(
NOT wolfIMU_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found wolf IMU:
${
wolfIMU_LIBRAR
Y
}
"
)
MESSAGE
(
STATUS
"Found wolf IMU:
${
wolfIMU_LIBRAR
IES
}
"
)
ENDIF
(
NOT wolfIMU_FIND_QUIETLY
)
ENDIF
(
NOT wolfIMU_FIND_QUIETLY
)
ELSE
(
wolfIMU_FOUND
)
ELSE
(
wolfIMU_FOUND
)
IF
(
wolfIMU_FIND_REQUIRED
)
IF
(
wolfIMU_FIND_REQUIRED
)
...
@@ -38,7 +38,7 @@ ENDIF (wolfIMU_FOUND)
...
@@ -38,7 +38,7 @@ ENDIF (wolfIMU_FOUND)
macro
(
wolf_report_not_found REASON_MSG
)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolfIMU_FOUND FALSE
)
set
(
wolfIMU_FOUND FALSE
)
unset
(
wolfIMU_INCLUDE_DIR
)
unset
(
wolfIMU_INCLUDE_DIR
S
)
unset
(
wolfIMU_LIBRARIES
)
unset
(
wolfIMU_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