Skip to content
Snippets Groups Projects
Commit 471dbaca authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Modified the necessaries files to save the headers, the library and all the...

Modified the necessaries files to save the headers, the library and all the related files on the subdirectory iri/<package_name>
parent 77195c97
No related branches found
No related tags found
No related merge requests found
Pipeline #2591 passed
FIND_PATH(iriutils_INCLUDE_DIR exceptions.h mutex.h mutexexceptions.h event.h eventserver.h eventexceptions.h thread.h threadserver.h threadexceptions.h comm.h commexceptions.h log.h logexceptions.h /usr/include/iridrivers /usr/local/include/iridrivers)
FIND_PATH(iriutils_INCLUDE_DIR exceptions.h mutex.h mutexexceptions.h event.h eventserver.h eventexceptions.h thread.h threadserver.h threadexceptions.h comm.h commexceptions.h log.h logexceptions.h /usr/include/iri/iriutils /usr/local/include/iri/iriutils)
FIND_LIBRARY(iriutils_LIBRARY
NAMES iriutils
PATHS /usr/lib/iridrivers /usr/local/lib /usr/local/lib/iridrivers)
PATHS /usr/lib/iri/iriutils /usr/local/lib /usr/local/lib/iri/iriutils)
IF (iriutils_INCLUDE_DIR AND iriutils_LIBRARY)
SET(iriutils_FOUND TRUE)
......
......@@ -20,11 +20,11 @@ ENDIF(APPLE)
INSTALL(TARGETS iriutils
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iridrivers
ARCHIVE DESTINATION lib/iridrivers
LIBRARY DESTINATION lib/iri/${PROJECT_NAME}
ARCHIVE DESTINATION lib/iri/${PROJECT_NAME}
)
INSTALL(FILES ${headers} DESTINATION include/iridrivers)
INSTALL(FILES ${headers} DESTINATION include/iri/${PROJECT_NAME})
INSTALL(FILES ../Findiriutils.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
......
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