Skip to content

Commit

Permalink
Use Protobuf_IMPORT_DIRS instead of PROTOBUF_IMPORT_DIRS for compatib…
Browse files Browse the repository at this point in the history
…ility with Protobuf CMake config

Signed-off-by: Silvio Traversaro <[email protected]>
  • Loading branch information
traversaro committed Mar 28, 2021
1 parent f422c02 commit a733261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)

#============================================================================
# Initialize the project
Expand Down Expand Up @@ -136,7 +136,7 @@ ign_find_package(IgnProtobuf
REQUIRED
COMPONENTS all
PRETTY Protobuf)
set(PROTOBUF_IMPORT_DIRS ${ignition-msgs5_INCLUDE_DIRS})
set(Protobuf_IMPORT_DIRS ${ignition-msgs5_INCLUDE_DIRS})

# Plugin install dirs
set(IGNITION_GAZEBO_PLUGIN_INSTALL_DIR
Expand Down

0 comments on commit a733261

Please sign in to comment.