diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b0f2fe..931ba14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,10 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Find dependencies find_package(Eigen3 REQUIRED) -find_package(GTest REQUIRED) +# GTest is only needed by the test executables, which the robot deployment build +# does not produce. QUIET, not REQUIRED: a robot without GTest installed must +# still configure. The test block below requires it where it is actually used. +find_package(GTest QUIET) if (NOT BUILDING_WITH_CATKIN)