What would really make me happy is cmake support for this in the google- mock Ubuntu package.
i.e. something like this inside "/usr/lib/$arch/cmake/GMock/GMockConfig.cmake" # Build with system gmock and embedded gtest set (GMOCK_INCLUDE_DIR "/usr/include/gmock/include" CACHE PATH "gmock source include directory") set (GMOCK_SOURCE_DIR "/usr/src/gmock" CACHE PATH "gmock source directory") set (GTEST_INCLUDE_DIR "${GMOCK_SOURCE_DIR}/gtest/include" CACHE PATH "gtest source include directory") add_subdirectory(${GMOCK_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}/gmock") set(GTEST_LIBRARIES gtest) set(GTEST_MAIN_LIBRARIES gtest_main) set(GMOCK_LIBRARIES gmock gmock_main) That way I can just go: find_package(GMock) include_directories ( ${GMOCK_INCLUDE_DIR} ${GTEST_INCLUDE_DIR} ) It also means you will be able to help use it more easily in the future. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1185265 Title: please stop shipping pre-build google-mock, instead all reverse- depends should compile their own google-mock To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1185265/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs