Skip to content

Commit

Permalink
Merge pull request #92 from OUXT-Polaris/feature/develop_option
Browse files Browse the repository at this point in the history
add develop option
  • Loading branch information
hakuturu583 authored Aug 7, 2023
2 parents 90dc7fb + e2e66cc commit 6d62996
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 6d62996

Please sign in to comment.