From 6f91bdf90a9758ff90d0910cdcadcf62273b6b80 Mon Sep 17 00:00:00 2001 From: duongtd Date: Tue, 17 Nov 2026 20:36:43 +0700 Subject: [PATCH] build(lane_route_planner): turn tests off by default in catkin and standalone builds BUILD_LANE_ROUTE_PLANNER_TESTS now defaults to OFF in both build modes instead of following BUILDING_WITH_CATKIN. Enable with -DBUILD_LANE_ROUTE_PLANNER_TESTS=ON. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f954fc..394732f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,8 @@ else() endif() target_compile_options(lane_route_planner PRIVATE -O3) -option(BUILD_LANE_ROUTE_PLANNER_TESTS "Build adapter tests" ${BUILDING_WITH_CATKIN}) +# Tests are OFF by default in both build modes; enable with -DBUILD_LANE_ROUTE_PLANNER_TESTS=ON. +option(BUILD_LANE_ROUTE_PLANNER_TESTS "Build adapter tests" OFF) if(BUILD_LANE_ROUTE_PLANNER_TESTS) find_package(GTest REQUIRED) find_package(Threads REQUIRED)