Skip to content

Commit

Permalink
fixed folder name in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelarguedas committed Jan 28, 2016
1 parent 7997ad3 commit 7099d60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ endif()

# specify the interesting folder in the archive. You might want to change
# that for a new binary where the structure is different
set(TMP_MESH_PATH ${TMP_DIR}/nao_meshes/)
set(TMP_MESH_PATH ${TMP_DIR}/meshes/)
set(TMP_TEXTURE_PATH ${TMP_DIR}/texture/)

# final path in devel/install space
set(FINAL_MESH_PATH ${CATKIN_GLOBAL_SHARE_DESTINATION}/${PROJECT_NAME}/)
Expand All @@ -61,6 +62,7 @@ add_custom_target(${PROJECT_NAME}_meshes
COMMAND ${INSTALLER_PATH} --mode text --prefix ${TMP_DIR}
COMMAND mkdir -p ${CATKIN_DEVEL_PREFIX}/${FINAL_MESH_PATH}
COMMAND cp -fr ${TMP_MESH_PATH}/* ${CATKIN_DEVEL_PREFIX}/${FINAL_MESH_PATH}/
COMMAND cp -fr ${TMP_TEXTURE_PATH}/* ${CATKIN_DEVEL_PREFIX}/${FINAL_MESH_PATH}/
COMMAND rm -fr ${TMP_DIR}/rollback*
)

Expand Down

0 comments on commit 7099d60

Please sign in to comment.