Install in /usr/local instead of /usr

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2724 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
quemy 2012-08-27 09:22:45 +00:00
commit b312749bab
25 changed files with 46 additions and 45 deletions

View file

@ -33,17 +33,17 @@ add_dependencies(flowshop moeo)
target_link_libraries(flowshop eo)
install(TARGETS flowshop ARCHIVE DESTINATION ${LIB} COMPONENT libraries)
install(TARGETS flowshop ARCHIVE DESTINATION local/${LIB} COMPONENT libraries)
######################################################################################
### 5) Installing benchs
######################################################################################
install(DIRECTORY benchs DESTINATION include${INSTALL_SUB_DIR}/moeo/tutorial/flowshop COMPONENT tutorial)
install(DIRECTORY benchs DESTINATION local/include${INSTALL_SUB_DIR}/moeo/tutorial/flowshop COMPONENT tutorial)
######################################################################################
### 6) Look for headers
######################################################################################
file(GLOB HDRS *.h)
install(FILES ${HDRS} DESTINATION include${INSTALL_SUB_DIR}/moeo/tutorial/examples/flowshop COMPONENT headers)
install(FILES ${HDRS} DESTINATION local/include${INSTALL_SUB_DIR}/moeo/tutorial/examples/flowshop COMPONENT headers)