diff --git a/robotx_behavior_tree/CMakeLists.txt b/robotx_behavior_tree/CMakeLists.txt index 4ba7d21..a96c26b 100644 --- a/robotx_behavior_tree/CMakeLists.txt +++ b/robotx_behavior_tree/CMakeLists.txt @@ -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()