From cbe219eee208ec4eac8645c07b6aac0dff563983 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Mon, 16 Oct 2023 17:33:50 -0500 Subject: [PATCH] Bumps in ionic : ci_matching_branch/bump_ionic_gz-rendering9 Signed-off-by: Addisu Z. Taddese --- .github/ci/packages.apt | 4 ++-- CMakeLists.txt | 8 ++++---- examples/hello_world_plugin/CMakeLists.txt | 4 ++-- examples/simple_demo_qml/CMakeLists.txt | 4 ++-- tutorials/02_install.md | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/ci/packages.apt b/.github/ci/packages.apt index 3465e8dd8..0bad7dce1 100644 --- a/.github/ci/packages.apt +++ b/.github/ci/packages.apt @@ -1,8 +1,8 @@ freeglut3-dev libfreeimage-dev libglew-dev -libgz-cmake3-dev -libgz-common5-dev +libgz-cmake4-dev +libgz-common6-dev libgz-math7-dev libgz-math7-eigen3-dev libgz-plugin2-dev diff --git a/CMakeLists.txt b/CMakeLists.txt index e842234c7..d9c57f391 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ project(gz-rendering9 VERSION 9.0.0) # Find gz-cmake #============================================================================ # If you get an error at this line, you need to install gz-cmake -find_package(gz-cmake3 REQUIRED) -set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR}) +find_package(gz-cmake4 REQUIRED) +set(GZ_CMAKE_VER ${gz-cmake4_VERSION_MAJOR}) #============================================================================ # Set up the project @@ -36,9 +36,9 @@ set(GZ_MATH_VER ${gz-math7_VERSION_MAJOR}) #-------------------------------------- # Find gz-common -gz_find_package(gz-common5 REQUIRED +gz_find_package(gz-common6 REQUIRED COMPONENTS graphics events geospatial) -set(GZ_COMMON_VER ${gz-common5_VERSION_MAJOR}) +set(GZ_COMMON_VER ${gz-common6_VERSION_MAJOR}) #-------------------------------------- # Find gz-plugin diff --git a/examples/hello_world_plugin/CMakeLists.txt b/examples/hello_world_plugin/CMakeLists.txt index 0cad69dd9..3393fd4e8 100644 --- a/examples/hello_world_plugin/CMakeLists.txt +++ b/examples/hello_world_plugin/CMakeLists.txt @@ -6,8 +6,8 @@ set(GZ_RENDERING_VER ${gz-rendering9_VERSION_MAJOR}) find_package(gz-plugin2 REQUIRED COMPONENTS all) set(GZ_PLUGIN_VER ${gz-plugin2_VERSION_MAJOR}) -find_package(gz-common5 REQUIRED) -set(GZ_COMMON_VER ${gz-common5_VERSION_MAJOR}) +find_package(gz-common6 REQUIRED) +set(GZ_COMMON_VER ${gz-common6_VERSION_MAJOR}) add_library(HelloWorldPlugin SHARED HelloWorldPlugin.cc) target_link_libraries(HelloWorldPlugin diff --git a/examples/simple_demo_qml/CMakeLists.txt b/examples/simple_demo_qml/CMakeLists.txt index 59c9b3d92..cd8cc4640 100644 --- a/examples/simple_demo_qml/CMakeLists.txt +++ b/examples/simple_demo_qml/CMakeLists.txt @@ -3,8 +3,8 @@ project(gz-rendering-simple-demo-qml) #------------------------------------------------------------------------ # Find gz-cmake -find_package(gz-cmake3 REQUIRED) -set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR}) +find_package(gz-cmake4 REQUIRED) +set(GZ_CMAKE_VER ${gz-cmake4_VERSION_MAJOR}) #------------------------------------------------------------------------ # Find gz-rendering diff --git a/tutorials/02_install.md b/tutorials/02_install.md index a5beb4118..0c46754fe 100644 --- a/tutorials/02_install.md +++ b/tutorials/02_install.md @@ -57,9 +57,9 @@ sudo apt install -y \ freeglut3-dev \ libxmu-dev \ libxi-dev \ - libgz-cmake3-dev \ + libgz-cmake4-dev \ libgz-math7-dev \ - libgz-common5-dev \ + libgz-common6-dev \ libgz-plugin2-dev ```