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)