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
usb_i2c_adapter
Commits
59793ea8
Commit
59793ea8
authored
Jul 09, 2019
by
Alejandro Lopez Gestoso
Browse files
Added all the headers to FIND_PATH
parent
6946a288
Changes
1
Hide whitespace changes
Inline
Side-by-side
Findusb_i2c_adapter.cmake
View file @
59793ea8
#edit the following line to add the librarie's header files
FIND_PATH
(
usb_i2c_adapter_INCLUDE_DIR usb_i2c.h /usr/include/iri/usb_i2c_adapter /usr/local/include/iri/usb_i2c_adapter
)
FIND_PATH
(
usb_i2c_adapter_INCLUDE_DIR usb_i2c.h
usb_i2c_exceptions.h
/usr/include/iri/usb_i2c_adapter /usr/local/include/iri/usb_i2c_adapter
)
FIND_LIBRARY
(
usb_i2c_adapter_LIBRARY
NAMES usb_i2c_adapter
...
...
@@ -20,4 +20,4 @@ ELSE (usb_i2c_adapter_FOUND)
IF
(
usb_i2c_adapter_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could not find usb_i2c_adapter"
)
ENDIF
(
usb_i2c_adapter_FIND_REQUIRED
)
ENDIF
(
usb_i2c_adapter_FOUND
)
\ No newline at end of file
ENDIF
(
usb_i2c_adapter_FOUND
)
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