~ted/indicator-network/add-title

« back to all changes in this revision

Viewing changes to cmake/FindGMock.cmake

  • Committer: Tarmac
  • Author(s): Pete Woods
  • Date: 2013-08-27 19:52:14 UTC
  • mfrom: (274.1.5 secret-agent)
  • Revision ID: tarmac-20130827195214-y2my0d0bibchvq6v
Move the secret agent code over into this package.

Approved by Charles Kerr, PS Jenkins bot.

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)