~ci-train-bot/indicator-network/indicator-network-ubuntu-zesty-2073

« back to all changes in this revision

Viewing changes to cmake/FindGMock.cmake

  • Committer: Pete Woods
  • Date: 2015-04-28 14:01:57 UTC
  • mto: This revision was merged to the branch mainline in revision 489.
  • Revision ID: pete.woods@canonical.com-20150428140157-3y1ol63bw4z5lype
Build QML plugin and install Qt library

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)