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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user