From 4882696b0b20cc68ab2f788eec322e1b60f2d1b8 Mon Sep 17 00:00:00 2001 From: Masaya Kataoka Date: Sun, 23 Jun 2024 11:24:38 +0900 Subject: [PATCH 1/2] fix build option "Develop" Signed-off-by: Masaya Kataoka --- robotx_behavior_tree/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotx_behavior_tree/CMakeLists.txt b/robotx_behavior_tree/CMakeLists.txt index a96c26b..e5eed88 100644 --- a/robotx_behavior_tree/CMakeLists.txt +++ b/robotx_behavior_tree/CMakeLists.txt @@ -45,7 +45,7 @@ install(TARGETS RUNTIME DESTINATION lib/${PROJECT_NAME} ) -option(DEVELOP "If true, install 3d models for desktop development" OFF) +option(DEVELOP "If true, install 3d models for desktop development" ON) if(DEVELOP) install(DIRECTORY models DESTINATION share/${PROJECT_NAME}) From 87d0c6d55de0348d699aaaa22941a9432e284e70 Mon Sep 17 00:00:00 2001 From: Masaya Kataoka Date: Sun, 23 Jun 2024 11:32:46 +0900 Subject: [PATCH 2/2] fix build option Signed-off-by: Masaya Kataoka --- robotx_behavior_tree/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/robotx_behavior_tree/CMakeLists.txt b/robotx_behavior_tree/CMakeLists.txt index e5eed88..93ba759 100644 --- a/robotx_behavior_tree/CMakeLists.txt +++ b/robotx_behavior_tree/CMakeLists.txt @@ -45,11 +45,7 @@ install(TARGETS RUNTIME DESTINATION lib/${PROJECT_NAME} ) -option(DEVELOP "If true, install 3d models for desktop development" ON) - -if(DEVELOP) - install(DIRECTORY models DESTINATION share/${PROJECT_NAME}) -endif() +install(DIRECTORY models DESTINATION share/${PROJECT_NAME}) if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED)