diff --git a/CMakeLists.txt b/CMakeLists.txt index 27af15fe8e..4b9ff4329a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ project(ignition-gazebo6 VERSION 6.9.0) # Find ignition-cmake #============================================================================ # If you get an error at this line, you need to install ignition-cmake -find_package(ignition-cmake2 2.8.0 REQUIRED) +find_package(ignition-cmake2 2.12.0 REQUIRED) #============================================================================ # Configure the project diff --git a/test/integration/CMakeLists.txt b/test/integration/CMakeLists.txt index 1787448c52..e5c6b9e237 100644 --- a/test/integration/CMakeLists.txt +++ b/test/integration/CMakeLists.txt @@ -128,7 +128,7 @@ ign_build_tests(TYPE INTEGRATION # For INTEGRATION_physics_system, we need to check what version of DART is # available so that we can disable tests that are unsupported by the particular # version of physics engine -ign_find_package(DART) +ign_find_package(DART CONFIG) if (DART_FOUND) # Only adding include directories, no need to link against DART to check version target_include_directories(INTEGRATION_physics_system SYSTEM PRIVATE ${DART_INCLUDE_DIRS})