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(