Skip to content

Commit 6d62996

Browse files
authored
Merge pull request #92 from OUXT-Polaris/feature/develop_option
add develop option
2 parents 90dc7fb + e2e66cc commit 6d62996

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

robotx_behavior_tree/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ install(TARGETS
4545
RUNTIME DESTINATION lib/${PROJECT_NAME}
4646
)
4747

48-
if($ENV{DEVELOP})
48+
option(DEVELOP "If true, install 3d models for desktop development" OFF)
49+
50+
if(DEVELOP)
4951
install(DIRECTORY models DESTINATION share/${PROJECT_NAME})
5052
endif()
5153

0 commit comments

Comments
 (0)