Skip to content

Commit

Permalink
add develop option
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Aug 7, 2023
1 parent 3f6ab97 commit e2e66cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion robotx_behavior_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ install(TARGETS
RUNTIME DESTINATION lib/${PROJECT_NAME}
)

if($ENV{DEVELOP})
option(DEVELOP "If true, install 3d models for desktop development" OFF)

if(DEVELOP)
install(DIRECTORY models DESTINATION share/${PROJECT_NAME})
endif()

Expand Down

0 comments on commit e2e66cc

Please sign in to comment.