diff --git a/ros_ign_gazebo/CMakeLists.txt b/ros_ign_gazebo/CMakeLists.txt index debdbb57..52fefe61 100644 --- a/ros_ign_gazebo/CMakeLists.txt +++ b/ros_ign_gazebo/CMakeLists.txt @@ -36,6 +36,9 @@ if("$ENV{GZ_VERSION}" STREQUAL "edifice") elseif("$ENV{GZ_VERSION}" STREQUAL "garden") find_package(gz-sim7 REQUIRED) message(STATUS "Compiling against Gazebo Garden") +elseif("$ENV{GZ_VERSION}" STREQUAL "harmonic") + find_package(gz-sim8 REQUIRED) + message(STATUS "Compiling against Gazebo Harmonic") # Default to Fortress else() find_package(ignition-gazebo6 REQUIRED)