Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Cannot locate new Gmock #2

Closed
vanyasem opened this issue May 29, 2018 · 2 comments
Closed

Cannot locate new Gmock #2

vanyasem opened this issue May 29, 2018 · 2 comments
Assignees
Labels

Comments

@vanyasem
Copy link
Contributor

I get this error while building on Arch GNU/Linux (amd64):

[7/32] Performing configure step for 'GMock'
FAILED: tests/GMock-prefix/src/GMock-stamp/GMock-configure 
cd /mnt/antihype/Projects/AUR/Unity8/_build/libqtdbustest-build/tests/gmock && /usr/bin/cmake "-DCMAKE_CXX_FLAGS= -g -Wno-old-style-cast -Wno-missing-field-initializers -Wno-ctor-dtor-privacy -Wno-switch-default" -GNinja /usr/src/gmock && /usr/bin/cmake -E touch /mnt/antihype/Projects/AUR/Unity8/_build/libqtdbustest-build/tests/GMock-prefix/src/GMock-stamp/GMock-configure
CMake Error: The source directory "/usr/src/gmock" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[15/32] Building CXX object src/libqtdbustest/CMakeFiles/qtdbustest.dir/DBusTestRunner.cpp.o

Gmock and Gtest are installed. Mir is able to detect their existence.

I assume that this commit in Mir canonical/mir@e7bbc0f introduced support for it.

Same issue as ubports/ubuntu-download-manager#2

@z3ntu
Copy link
Contributor

z3ntu commented Dec 30, 2018

For postmarketOS I've (also) patched in FindGtestGmock.cmake from mir into cmake-extras and it works fine.

@UniversalSuperBox
Copy link
Member

This issue has been moved to https://gitlab.com/ubports/core/cmake-extras/-/issues/3. Please let me know if this is no longer relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants