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

@ -22,21 +22,21 @@ set (SMP_FILE
add_library(smp STATIC ${SMP_FILE})
install(TARGETS smp ARCHIVE DESTINATION ${LIB} COMPONENT libraries)
install(TARGETS smp ARCHIVE DESTINATION local/${LIB} COMPONENT libraries)
######################################################################################
### 3) Look for headers
######################################################################################
file(GLOB HDRS smp *.h)
install(FILES ${HDRS} DESTINATION include${INSTALL_SUB_DIR}/smp COMPONENT headers)
install(FILES ${HDRS} DESTINATION local/include${INSTALL_SUB_DIR}/smp COMPONENT headers)
######################################################################################
### 4) Install directories
######################################################################################
install(DIRECTORY MWAlgo
DESTINATION include${INSTALL_SUB_DIR}/smp
DESTINATION local/include${INSTALL_SUB_DIR}/smp
COMPONENT headers
FILES_MATCHING PATTERN "*.h"
)