Commit 275e759f authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Add gitignore for bin,build,lib folders. Add plural _INCLUDE_DIRS and...

Add gitignore for bin,build,lib folders. Add plural _INCLUDE_DIRS and _LIBRARIES find cmake variables
parent 78e343d6
bin
build
lib
......@@ -3,7 +3,10 @@ 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/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})
IF (usb_i2c_adapter_INCLUDE_DIR AND usb_i2c_adapter_LIBRARY)
SET(usb_i2c_adapter_FOUND TRUE)
......@@ -17,5 +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)
ENDIF (usb_i2c_adapter_FOUND)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment