Skip to content
Snippets Groups Projects
Commit a867b384 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update find cmake. Fix project name

parent 275e759f
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ if(COMMAND cmake_policy)
endif(COMMAND cmake_policy)
# The project name and the type of project
PROJECT(usb-i2c-adapter)
PROJECT(usb_i2c_adapter)
SET(CPACK_PACKAGE_VERSION "1.0.0")
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
......
......@@ -3,7 +3,7 @@ FIND_PATH(usb_i2c_adapter_INCLUDE_DIR usb_i2c.h /usr/include/iri/usb_i2c_adapter
FIND_LIBRARY(usb_i2c_adapter_LIBRARY
NAMES usb_i2c_adapter
PATHS /usr/lib/iri/usb_i2c_adapter /usr/local/lib /usr/local/lib/iri/usb_i2c_adapter)
PATHS /usr/lib /usr/lib/iri/usb_i2c_adapter /usr/local/lib /usr/local/lib/iri/usb_i2c_adapter)
SET(usb_i2c_adapter_INCLUDE_DIRS ${usb_i2c_adapter_INCLUDE_DIR})
SET(usb_i2c_adapter_LIBRARIES ${usb_i2c_adapter_LIBRARY})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment