Control: tags -1 + patch

After some further digging, I found the problem:

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Using /usr/src/googletest/googlemock/ as gmock source directory
CMake Warning at /usr/share/cmake/GMock/GMockConfig.cmake:68 (message):
  Could not detect GTest version, Assuming v1.8.0 (or compatible) and hoping
  for the best
Call Stack (most recent call first):
  /usr/share/catkin/cmake/test/gtest.cmake:317 (find_package)
  /usr/share/catkin/cmake/all.cmake:164 (include)
  /usr/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:4 (find_package)


cmake-extras needs pkg-config to detect the version of Googletest, but
does not depend on it. Adding that dependency fixes the build for me:

---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index d96abb1..2f4645e 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends},
          cmake (>= 3.1),
+         pkg-config,
          python3,
 Suggests: googletest (>= 1.10.0.20201025),
           libgtest-dev,
-- 
2.29.0

Reply via email to