Commit 990a8973 authored by Sergi Martínez Sánchez's avatar Sergi Martínez Sánchez
Browse files

Findfinddd_descriptor.cmake file added

parent 82e533cd
#edit the following line to add the librarie's header files
FIND_PATH(finddd_descriptor_INCLUDE_DIR finddd_descriptor.h /usr/include/iridrivers /usr/local/include/iridrivers)
FIND_LIBRARY(finddd_descriptor_LIBRARY
NAMES finddd_descriptor
PATHS /usr/lib /usr/local/lib /usr/local/lib/iridrivers)
IF (finddd_descriptor_INCLUDE_DIR AND finddd_descriptor_LIBRARY)
SET(finddd_descriptor_FOUND TRUE)
ENDIF (finddd_descriptor_INCLUDE_DIR AND finddd_descriptor_LIBRARY)
IF (finddd_descriptor_FOUND)
IF (NOT finddd_descriptor_FIND_QUIETLY)
MESSAGE(STATUS "Found finddd_descriptor: ${finddd_descriptor_LIBRARY}")
ENDIF (NOT finddd_descriptor_FIND_QUIETLY)
ELSE (finddd_descriptor_FOUND)
IF (finddd_descriptor_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find finddd_descriptor")
ENDIF (finddd_descriptor_FIND_REQUIRED)
ENDIF (finddd_descriptor_FOUND)
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