1 cmake_minimum_required(VERSION 2.8.8)
4 cmake_policy(SET CMP0048 NEW)
7 project(googletest-distribution)
8 set(GOOGLETEST_VERSION 1.9.0)
12 include(CMakeDependentOption)
13 include(GNUInstallDirs)
15 #Note that googlemock target already builds googletest
16 option(BUILD_GMOCK "Builds the googlemock subproject" ON)
17 option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
20 add_subdirectory( googlemock )
22 add_subdirectory( googletest )