Skip to content
Snippets Groups Projects
Commit 8c00afa1 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 55c2f3ea
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(trajectory_INCLUDE_DIR trajectory.h /usr/include/iridrivers /usr/local/include/iridrivers) FIND_PATH(trajectory_INCLUDE_DIR trajectory.h /usr/include/iri/trajectory /usr/local/include/iri/trajectory)
FIND_LIBRARY(trajectory_LIBRARY FIND_LIBRARY(trajectory_LIBRARY
NAMES trajectory NAMES trajectory
PATHS /usr/lib /usr/local/lib /usr/local/lib/iridrivers) PATHS /usr/lib/iri/trajectory /usr/local/lib /usr/local/lib/iri/trajectory)
IF (trajectory_INCLUDE_DIR AND trajectory_LIBRARY) IF (trajectory_INCLUDE_DIR AND trajectory_LIBRARY)
SET(trajectory_FOUND TRUE) SET(trajectory_FOUND TRUE)
......
...@@ -23,8 +23,8 @@ ADD_DEPENDENCIES(trajectory xsd_files_gen) ...@@ -23,8 +23,8 @@ ADD_DEPENDENCIES(trajectory xsd_files_gen)
INSTALL(TARGETS trajectory INSTALL(TARGETS trajectory
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 ../Findtrajectory.cmake DESTINATION ${CMAKE_ROOT}/Modules/) INSTALL(FILES ../Findtrajectory.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
ADD_SUBDIRECTORY(examples) ADD_SUBDIRECTORY(examples)
...@@ -39,7 +39,7 @@ IF(XSD_FOUND) ...@@ -39,7 +39,7 @@ 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