From 07bffab7fa68a6b4390bb673706a75a4578cb92c Mon Sep 17 00:00:00 2001 From: duongtd Date: Tue, 17 Nov 2026 20:36:43 +0700 Subject: [PATCH] build(lane_route_core): turn tests off by default in catkin and standalone builds BUILD_LANE_ROUTE_TESTS now defaults to OFF in both build modes instead of following BUILDING_WITH_CATKIN. It also gates the lane_route_eval tool. Enable with -DBUILD_LANE_ROUTE_TESTS=ON. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ceb5907..5080b20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # The tests and the eval tool build coarse graphs with robot_costmap_2d. The library itself does not use it. -option(BUILD_LANE_ROUTE_TESTS "Build lane_route_core tests and eval tool" ${BUILDING_WITH_CATKIN}) +# Tests are OFF by default in both build modes; enable with -DBUILD_LANE_ROUTE_TESTS=ON. +option(BUILD_LANE_ROUTE_TESTS "Build lane_route_core tests and eval tool" OFF) if(BUILDING_WITH_CATKIN) find_package(catkin REQUIRED COMPONENTS robot_costmap_2d)