From 02be9b7dd55aed7715f2199921a07e78caef80b8 Mon Sep 17 00:00:00 2001 From: Chris Iverach-Brereton Date: Fri, 16 Aug 2024 11:29:02 -0400 Subject: [PATCH] Make gz-gui8 required in cmake --- irobot_create_gz/irobot_create_gz_plugins/CMakeLists.txt | 2 +- .../irobot_create_gz_plugins/Create3Hmi/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/irobot_create_gz/irobot_create_gz_plugins/CMakeLists.txt b/irobot_create_gz/irobot_create_gz_plugins/CMakeLists.txt index ea49328d..3f86601f 100644 --- a/irobot_create_gz/irobot_create_gz_plugins/CMakeLists.txt +++ b/irobot_create_gz/irobot_create_gz_plugins/CMakeLists.txt @@ -11,7 +11,7 @@ find_package(ament_cmake REQUIRED) set(OpenGL_GL_PREFERENCE LEGACY) # Find the Ignition gui library -find_package(gz-gui8) +find_package(gz-gui8 REQUIRED) add_subdirectory(Create3Hmi) if(BUILD_TESTING) diff --git a/irobot_create_gz/irobot_create_gz_plugins/Create3Hmi/CMakeLists.txt b/irobot_create_gz/irobot_create_gz_plugins/Create3Hmi/CMakeLists.txt index 5f09addc..721c1ca2 100644 --- a/irobot_create_gz/irobot_create_gz_plugins/Create3Hmi/CMakeLists.txt +++ b/irobot_create_gz/irobot_create_gz_plugins/Create3Hmi/CMakeLists.txt @@ -15,6 +15,8 @@ find_package(Qt5 REQUIRED ) +find_package(gz-gui8 REQUIRED) + qt5_add_resources(resources_rcc Create3Hmi.qrc) add_library(