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

@ -27,10 +27,11 @@ foreach (test ${TEST_LIST})
add_executable(${test} ${T_${test}_SOURCES})
target_link_libraries(${test} smp eo eoutils)
add_test(${test} ${test})
install(TARGETS ${test} RUNTIME DESTINATION local/share${INSTALL_SUB_DIR}/smp/test COMPONENT tests)
endforeach (test)
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/t-data.dat
${CMAKE_CURRENT_BINARY_DIR}/t-data.dat)
install(TARGETS ${CMAKE_CURRENT_SOURCE_DIR}/t-data.dat RUNTIME DESTINATION local/share${INSTALL_SUB_DIR}/smp/test COMPONENT tests)