Skip to content

Commit

Permalink
Merge pull request #40 from k-okada/back_compatibility_share
Browse files Browse the repository at this point in the history
create symlink for share directory for backword compatibility
  • Loading branch information
fkanehiro committed Feb 7, 2015
2 parents bab73ab + f45a9b0 commit 833d194
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -567,5 +567,9 @@ if(need_catkin OR "${CATKIN_BUILD_BINARY_PACKAGE}")
install(CODE "execute_process(COMMAND cmake -E create_symlink ../../bin/openhrp-model-loader openhrp-model-loader WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/share/openhrp3)")
install(CODE "execute_process(COMMAND cmake -E create_symlink ../../bin/export-collada export-collada WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/openhrp3)")
install(CODE "execute_process(COMMAND cmake -E create_symlink ../../bin/export-collada export-collada WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/share/openhrp3)")
install(CODE "
execute_process(COMMAND cmake -E make_directory share WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/share/openhrp3)
execute_process(COMMAND cmake -E create_symlink ../../OpenHRP-3.1 share/OpenHRP-3.1 WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/share/openhrp3)
")
endif()

0 comments on commit 833d194

Please sign in to comment.