encfs/vendor/github.com/google/googletest/CMakeLists.txt
Valient Gough 93dc3183d7 Add "gtest" from "https://github.com/google/googletest.git@release-1.8.0"
git-vendor-name: gtest
git-vendor-dir: vendor/github.com/google/googletest
git-vendor-repository: https://github.com/google/googletest.git
git-vendor-ref: release-1.8.0
2017-08-06 22:36:28 -04:00

17 lines
377 B
CMake

cmake_minimum_required(VERSION 2.6.2)
project( googletest-distribution )
enable_testing()
option(BUILD_GTEST "Builds the googletest subproject" OFF)
#Note that googlemock target already builds googletest
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
if(BUILD_GMOCK)
add_subdirectory( googlemock )
elseif(BUILD_GTEST)
add_subdirectory( googletest )
endif()