From 684495c8877d23bb24cf6e3192af8fca4d89fd0c Mon Sep 17 00:00:00 2001 From: vitaut Date: Tue, 12 May 2015 06:53:35 -0700 Subject: [PATCH] Add header files to gmock target --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 670ed435..4276ad93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,9 @@ include_directories(. gmock) # pre-compiled copy of Google Test (for example, into /usr/local)?" # at http://code.google.com/p/googletest/wiki/FAQ for more details. -add_library(gmock STATIC gmock/gmock-gtest-all.cc) +add_library(gmock STATIC + gmock/gmock-gtest-all.cc gmock/gmock/gmock.h + gmock/gtest/gtest.h gmock/gtest/gtest-spi.h) find_package(Threads) target_link_libraries(gmock ${CMAKE_THREAD_LIBS_INIT})