Simplified uniform GPU selection in CMake
[gromacs.git] / src / external / googletest / CMakeLists.txt
blob695d057dd3e6e1176d2733c58bc1ce3bdde1f888
1 cmake_minimum_required(VERSION 2.6.2)
3 project( googletest-distribution )
5 #enable_testing()
7 option(BUILD_GTEST "Builds the googletest subproject" OFF)
9 #Note that googlemock target already builds googletest
10 option(BUILD_GMOCK "Builds the googlemock subproject" ON)
12 if(BUILD_GMOCK)
13   add_subdirectory( googlemock )
14 elseif(BUILD_GTEST)
15   add_subdirectory( googletest )
16 endif()