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

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

Modified the necessary files to save the headers, the library and all the related files on the subdirectory iri/<package_name>
parent 1379426a
No related branches found
No related tags found
No related merge requests found
FIND_PATH(comm_INCLUDE_DIR comm.h commexceptions.h rs232.h rs232exceptions.h ftdiserver.h ftdimodule.h ftdiexcetpions.h socket.h socketclient.h socketserver.h socketexceptions.h /usr/include/iridrivers /usr/local/include/iridrivers) FIND_PATH(comm_INCLUDE_DIR comm.h commexceptions.h rs232.h rs232exceptions.h ftdiserver.h ftdimodule.h ftdiexcetpions.h socket.h socketclient.h socketserver.h socketexceptions.h /usr/include/iri/comm /usr/local/include/iri/comm)
FIND_LIBRARY(comm_LIBRARY FIND_LIBRARY(comm_LIBRARY
NAMES comm NAMES comm
PATHS /usr/lib/iridrivers /usr/local/lib /usr/local/lib/iridrivers) PATHS /usr/lib/iri/comm /usr/local/lib /usr/local/lib/iri/comm)
IF (comm_INCLUDE_DIR AND comm_LIBRARY) IF (comm_INCLUDE_DIR AND comm_LIBRARY)
SET(comm_FOUND TRUE) SET(comm_FOUND TRUE)
......
...@@ -70,11 +70,11 @@ ENDIF(BUILD_FTDI) ...@@ -70,11 +70,11 @@ ENDIF(BUILD_FTDI)
INSTALL(TARGETS comm INSTALL(TARGETS comm
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iridrivers LIBRARY DESTINATION lib/iri/${PROJECT_NAME}
ARCHIVE DESTINATION lib/iridrivers ARCHIVE DESTINATION lib/iri/${PROJECT_NAME}
) )
INSTALL(FILES ${headers} DESTINATION include/iridrivers) INSTALL(FILES ${headers} DESTINATION include/iri/${PROJECT_NAME})
INSTALL(FILES ../Findcomm.cmake DESTINATION ${CMAKE_ROOT}/Modules/) INSTALL(FILES ../Findcomm.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