Skip to content
Snippets Groups Projects
Commit 804a6b9f authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Finding correct path when required externally

parent 7810a9ab
No related branches found
No related tags found
1 merge request!24After 2nd RAL submission
......@@ -4,7 +4,7 @@ FIND_PATH(
NAMES vision.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_vision)
#change INCLUDE_DIRS to its parent directory
get_filename_component(vision_INCLUDE_DIRS ${vision_INCLUDE_DIRS} DIRECTORY)
# get_filename_component(vision_INCLUDE_DIRS ${vision_INCLUDE_DIRS} DIRECTORY)
IF(vision_INCLUDE_DIRS)
MESSAGE("Found vision include dirs: ${vision_INCLUDE_DIRS}")
ELSE
......
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