Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
bno055_imu_driver
Commits
24e7f996
Commit
24e7f996
authored
Mar 30, 2020
by
Sergi Hernandez
Browse files
Removed the simulated library form the Find cmake file.
parent
f441ebf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Findbno055_imu_driver.cmake
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment