[arch-commits] Commit in gtest/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 8 13:39:35 UTC 2021
Date: Saturday, May 8, 2021 @ 13:39:35
Author: foutrelis
Revision: 928839
upgpkg: gtest 1.10.0-4: make gtest depend on gmock
gtest's CMake files appear to reference libgmock.so:
=======================================================================
CMake Error at /usr/lib64/cmake/GTest/GTestTargets.cmake:112 (message):
The imported target "GTest::gmock" references the file
"/usr/lib/libgmock.so.1.10.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib64/cmake/GTest/GTestTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib64/cmake/GTest/GTestConfig.cmake:42 (include)
/usr/share/cmake-3.20/Modules/FindGTest.cmake:187 (find_package)
tests/CMakeLists.txt:10 (find_package)
=======================================================================
Modified:
gtest/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-08 13:31:37 UTC (rev 928838)
+++ PKGBUILD 2021-05-08 13:39:35 UTC (rev 928839)
@@ -9,7 +9,7 @@
pkgbase=gtest
pkgname=('gtest' 'gmock')
pkgver=1.10.0
-pkgrel=3
+pkgrel=4
pkgdesc='Google Test - C++ testing utility'
url='https://github.com/google/googletest'
arch=('x86_64')
@@ -48,7 +48,7 @@
package_gtest() {
pkgdesc='Google Test - C++ testing utility based on the xUnit framework (like JUnit)'
- depends=('gcc-libs' 'sh')
+ depends=('gmock' 'gcc-libs' 'sh')
DESTDIR="${pkgdir}" cmake --build build --target install
More information about the arch-commits
mailing list