Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bno055_imu_driver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
labrobotica
drivers
bno055_imu_driver
Commits
24e7f996
Commit
24e7f996
authored
5 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Removed the simulated library form the Find cmake file.
parent
f441ebf5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Findbno055_imu_driver.cmake
+2
-14
2 additions, 14 deletions
Findbno055_imu_driver.cmake
with
2 additions
and
14 deletions
Findbno055_imu_driver.cmake
+
2
−
14
View file @
24e7f996
#edit the following line to add the librarie's header files
FIND_PATH
(
bno055_imu_driver_INCLUDE_DIRS bno055_imu_driver.h bno055_imu_exceptions.h bno055_common.h
bno055_imu_sim.h
/usr/local/include/iri/bno055_imu_driver /usr/include/iri/bno055_imu_driver
)
FIND_PATH
(
bno055_imu_driver_INCLUDE_DIRS bno055_imu_driver.h bno055_imu_exceptions.h bno055_common.h /usr/local/include/iri/bno055_imu_driver /usr/include/iri/bno055_imu_driver
)
FIND_LIBRARY
(
bno055_imu_driver_LIBRARIES
_aux
FIND_LIBRARY
(
bno055_imu_driver_LIBRARIES
NAMES bno055_imu_driver
PATHS /usr/local/lib/iri/bno055_imu_driver /usr/lib/iri/bno055_imu_driver
)
FIND_LIBRARY
(
bno055_imu_sim_LIBRARIES_aux
NAMES bno055_imu_sim
PATHS /usr/local/lib/iri/bno055_imu_driver /usr/lib/iri/bno055_imu_driver
)
IF
(
bno055_imu_driver_LIBRARIES_aux AND bno055_imu_sim_LIBRARIES_aux
)
SET
(
bno055_imu_driver_LIBRARIES
${
bno055_imu_driver_LIBRARIES_aux
}
${
bno055_imu_sim_LIBRARIES_aux
}
)
ELSE
(
bno055_imu_driver_LIBRARIES_aux AND bno055_imu_sim_LIBRARIES_aux
)
MESSAGE
(
FATAL_ERROR
"Could not find bn055_imu_driver
${
bno055_imu_driver_LIBRARIES_aux
}
or bno055_imu_sim
${
bno055_imu_sim_LIBRARIES_aux
}
"
)
ENDIF
(
bno055_imu_driver_LIBRARIES_aux AND bno055_imu_sim_LIBRARIES_aux
)
SET
(
bno055_imu_driver_INCLUDE_DIR
${
bno055_imu_driver_INCLUDE_DIRS
}
)
SET
(
bno055_imu_driver_LIBRARY
${
bno055_imu_driver_LIBRARIES
}
)
IF
(
bno055_imu_driver_INCLUDE_DIRS AND bno055_imu_driver_LIBRARIES
)
SET
(
bno055_imu_driver_FOUND TRUE
)
ENDIF
(
bno055_imu_driver_INCLUDE_DIRS AND bno055_imu_driver_LIBRARIES
)
...
...
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