From af6e857139107d9b1d61f3dd7c47b4c5b3502b71 Mon Sep 17 00:00:00 2001 From: Terry Westley Date: Thu, 19 Sep 2024 11:47:15 -0400 Subject: [PATCH] Add GTest as required to get gmock --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 32572ac..55f4b31 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -28,6 +28,9 @@ add_library(adakCore # Newer versions of protobuf require abseil find_package(absl REQUIRED) +# And abseil requires gmock +find_package(GTest REQUIRED) + target_link_libraries(adakCore messages) target_include_directories(adakCore PUBLIC ${PROJECT_SOURCE_DIR}/include)