Skip to content
Snippets Groups Projects
Commit 2badc1b6 authored by Francois Bleibel's avatar Francois Bleibel
Browse files

Removed CMAKE_INSTALL_PREFIX in INSTALL directives.

parent cfc4c1fa
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@ ADD_CUSTOM_TARGET(documentation ALL
# html files
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/dynamic-graph)
DESTINATION share/doc/dynamic-graph)
# doxytag
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.doxytag
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/dynamic-graph/html)
DESTINATION share/doc/dynamic-graph/html)
# pictures
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pictures
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/dynamic-graph/html)
DESTINATION share/doc/dynamic-graph/html)
......@@ -51,6 +51,6 @@ ENDFOREACH(lHeader)
# Install procedure for the header files
#----------------------------------------------------
INSTALL(FILES ${fullpath_${PROJECT_NAME}_HEADERS}
DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME}
DESTINATION include/${PROJECT_NAME}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE
)
\ No newline at end of file
......@@ -50,7 +50,7 @@ IF (UNIX)
ENDIF (UNIX)
INSTALL(TARGETS ${LIBRARY_NAME}
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
DESTINATION lib)
####################################
### Plugins
......@@ -81,5 +81,5 @@ SET_TARGET_PROPERTIES(${plugin}
LIBRARY_OUTPUT_DIRECTORY "${${PROJECT_NAME}_BINARY_DIR}/lib/plugin")
INSTALL(TARGETS ${plugin}
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/plugin)
DESTINATION lib/plugin)
ENDFOREACH(plugin_file)
\ No newline at end of file
......@@ -14,7 +14,7 @@ INSTALL(
FILES
${${PROJECT_NAME}_BINARY_DIR}/tools/shell.sh
DESTINATION
${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}
bin/${PROJECT_NAME}
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ )
......@@ -40,5 +40,5 @@ FOREACH(tool_name ${tools})
ENDIF(UNIX)
INSTALL(TARGETS ${tool_name}
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME})
DESTINATION bin/${PROJECT_NAME})
ENDFOREACH(tool_name)
\ No newline at end of file
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