diff --git a/CMakeLists.txt b/CMakeLists.txt index b05eedb7b4..ab7e988aa7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,7 +136,7 @@ ign_find_package(IgnProtobuf REQUIRED COMPONENTS all PRETTY Protobuf) -set(PROTOBUF_IMPORT_DIRS ${ignition-msgs6_INCLUDE_DIRS}) +set(Protobuf_IMPORT_DIRS ${ignition-msgs6_INCLUDE_DIRS}) # Plugin install dirs set(IGNITION_GAZEBO_PLUGIN_INSTALL_DIR