From 7c8ac4886a7ad513430d132c446a93c6d395345a Mon Sep 17 00:00:00 2001 From: Joan Puigcerver Date: Thu, 3 Dec 2015 09:33:21 +0100 Subject: Added CMake install rules for GMock --- googlemock/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'googlemock') diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt index cd522776..7f330c5e 100644 --- a/googlemock/CMakeLists.txt +++ b/googlemock/CMakeLists.txt @@ -92,6 +92,14 @@ cxx_library(gmock_main src/gmock-all.cc src/gmock_main.cc) +######################################################################## +# +# Install rules +install(TARGETS gmock gmock_main + DESTINATION lib) +install(DIRECTORY ${gmock_SOURCE_DIR}/include/gmock + DESTINATION include) + ######################################################################## # # Google Mock's own tests. -- cgit v1.2.3