Skip to content
Snippets Groups Projects
Commit 81943089 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 6d05ecc0
No related branches found
No related tags found
No related merge requests found
#edit the following line to add the librarie's header files #edit the following line to add the librarie's header files
FIND_PATH(ptu_d46_INCLUDE_DIR ptu_commands.h ptu_d46.h /usr/include/iridrivers /usr/local/include/iridrivers) FIND_PATH(ptu_d46_INCLUDE_DIR ptu_commands.h ptu_d46.h /usr/include/iri/ptu_d46 /usr/local/include/iri/ptu_d46)
FIND_LIBRARY(ptu_d46_LIBRARY FIND_LIBRARY(ptu_d46_LIBRARY
NAMES ptu_d46 NAMES ptu_d46
PATHS /usr/lib /usr/local/lib /usr/local/lib/iridrivers) PATHS /usr/lib/iri/ptu_d46 /usr/local/lib /usr/local/lib/iri/ptu_d46)
IF (ptu_d46_INCLUDE_DIR AND ptu_d46_LIBRARY) IF (ptu_d46_INCLUDE_DIR AND ptu_d46_LIBRARY)
SET(ptu_d46_FOUND TRUE) SET(ptu_d46_FOUND TRUE)
......
...@@ -30,11 +30,11 @@ TARGET_LINK_LIBRARIES(ptu_d46 ${trajectory_LIBRARY}) ...@@ -30,11 +30,11 @@ TARGET_LINK_LIBRARIES(ptu_d46 ${trajectory_LIBRARY})
INSTALL(TARGETS ptu_d46 INSTALL(TARGETS ptu_d46
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 ../Findptu_d46.cmake DESTINATION ${CMAKE_ROOT}/Modules/) INSTALL(FILES ../Findptu_d46.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
......
...@@ -39,8 +39,8 @@ IF(XSD_FOUND) ...@@ -39,8 +39,8 @@ IF(XSD_FOUND)
DEPENDS ${XSD_PATH_FILES} DEPENDS ${XSD_PATH_FILES}
COMMENT "Parsing the xml template file ${XSD_FILES}") COMMENT "Parsing the xml template file ${XSD_FILES}")
INSTALL(FILES ${XSD_PATH_FILES} DESTINATION include/iridrivers/xml) INSTALL(FILES ${XSD_PATH_FILES} DESTINATION include/iri/${PROJECT_NAME}/xml)
INSTALL(FILES ${XSD_HEADERS_INT} DESTINATION include/iridrivers/xml) INSTALL(FILES ${XSD_HEADERS_INT} DESTINATION include/iri/${PROJECT_NAME}/xml)
ENDIF(XSD_FILES) ENDIF(XSD_FILES)
ENDIF(XSD_FOUND) ENDIF(XSD_FOUND)
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