Skip to content

Commit

Permalink
Fix deprecation warnings, explicitly depend on utils
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Apr 14, 2022
1 parent 0b36d21 commit 1e79783
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ libignition-common5-dev
libignition-math7-dev
libignition-msgs9-dev
libignition-tools2-dev
libignition-utils2-dev
libjsoncpp-dev
libtinyxml2-dev
libyaml-dev
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ ign_find_package(YAML REQUIRED PRIVATE)
# Find libzip
ign_find_package(ZIP REQUIRED PRIVATE)

#--------------------------------------
# Find ignition-utils
ign_find_package(ignition-utils2 REQUIRED)
set(IGN_UTILS_VER ${ignition-utils2_VERSION_MAJOR})

#--------------------------------------
# Find ignition-common
ign_find_package(ignition-common5 REQUIRED PRIVATE)
Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ ign_target_interface_include_directories(${PROJECT_LIBRARY_TARGET_NAME}
ign_build_tests(TYPE UNIT
SOURCES ${gtest_sources}
LIB_DEPS
ignition-cmake${IGN_CMAKE_VER}::utilities
ignition-common${IGN_COMMON_MAJOR_VER}::ignition-common${IGN_COMMON_MAJOR_VER}
TINYXML2::TINYXML2
)
Expand Down
2 changes: 1 addition & 1 deletion src/FuelClient_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <fstream>
#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <ignition/utils/ExtraTestMacros.hh>

#include "ignition/fuel_tools/FuelClient.hh"
#include "ignition/fuel_tools/ClientConfig.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/Interface_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <gtest/gtest.h>
#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <ignition/utils/ExtraTestMacros.hh>
#include "ignition/fuel_tools/ClientConfig.hh"
#include "ignition/fuel_tools/FuelClient.hh"
#include "ignition/fuel_tools/Interface.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/LocalCache_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <string>
#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <ignition/utils/ExtraTestMacros.hh>

#include "ignition/fuel_tools/ClientConfig.hh"
#include "ignition/fuel_tools/WorldIdentifier.hh"
Expand Down
2 changes: 1 addition & 1 deletion src/ign_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <stdlib.h>

#include <string>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <ignition/utils/ExtraTestMacros.hh>

#include "ignition/fuel_tools/config.hh"
#include "test_config.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ign_src_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <string>
#include <ignition/common/Filesystem.hh>
#include <ignition/utilities/ExtraTestMacros.hh>
#include <ignition/utils/ExtraTestMacros.hh>

#include "ign.hh"
#include "test_config.h"
Expand Down

0 comments on commit 1e79783

Please sign in to comment.