~unity-team/libqtdbusmock/trunk

« back to all changes in this revision

Viewing changes to cmake/FindGMock.cmake

  • Committer: Bileto Bot
  • Date: 2016-12-06 12:08:47 UTC
  • mfrom: (43.1.5 trunk)
  • Revision ID: ci-train-bot@canonical.com-20161206120847-cyftgdq8c72wvhgo
* Add AddDeviceConnection, SettingsAddConnection methods to network manager mock interface.
* Switch to cmake-extras version of FindGMock.
* CHange to pragma once for header guard macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Build with system gmock and embedded gtest
2
 
set (GMOCK_INCLUDE_DIRS "/usr/include/gmock/include" CACHE PATH "gmock source include directory")
3
 
set (GMOCK_SOURCE_DIR "/usr/src/gmock" CACHE PATH "gmock source directory")
4
 
set (GTEST_INCLUDE_DIRS "${GMOCK_SOURCE_DIR}/gtest/include" CACHE PATH "gtest source include directory")
5
 
 
6
 
add_subdirectory(${GMOCK_SOURCE_DIR} "${CMAKE_CURRENT_BINARY_DIR}/gmock")
7
 
 
8
 
set(GTEST_LIBRARIES gtest)
9
 
set(GTEST_MAIN_LIBRARIES gtest_main)
10
 
set(GMOCK_LIBRARIES gmock gmock_main)