9edd625f9da7a6f32236bf147c790f0aa8c78251
[alexxy/gromacs.git] / src / external / googletest / CMakeLists.txt
1 #cmake_minimum_required(VERSION 2.6.2)
2
3 project( googletest-distribution )
4
5 #enable_testing()
6
7 option(BUILD_GTEST "Builds the googletest subproject" OFF)
8
9 #Note that googlemock target already builds googletest
10 option(BUILD_GMOCK "Builds the googlemock subproject" ON)
11
12 if(BUILD_GMOCK)
13   add_subdirectory( googlemock )
14 elseif(BUILD_GTEST)
15   add_subdirectory( googletest )
16 endif()