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

Update Find cmake template: remove system directories and search first in /local/ directories.

parent d073e2d5
No related branches found
No related tags found
1 merge request!1Install path
#edit the following line to add the librarie's header files
SET(name library_name)
FIND_PATH(${name}_INCLUDE_DIRS ${name}.h /usr/include/iri/${name} /usr/local/include/iri/${name})
FIND_PATH(${name}_INCLUDE_DIRS ${name}.h /usr/local/include/iri/${name} /usr/include/iri/${name})
FIND_LIBRARY(${name}_LIBRARIES
NAMES ${name}
PATHS /usr/lib /usr/lib/iri/${name} /usr/local/lib /usr/local/lib/iri/${name})
PATHS /usr/local/lib/iri/${name} /usr/lib/iri/${name})
SET(${name}_INCLUDE_DIR ${${name}_INCLUDE_DIRS})
SET(${name}_LIBRARY ${${name}_LIBRARIES})
......
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