mirror of
https://github.com/vgough/encfs.git
synced 2025-02-16 09:49:46 +01:00
git-subtree-dir: vendor/github.com/google/googletest git-subtree-split: a3ac2d7faa9cc6d38d69321f293925f72edf6727
17 lines
377 B
CMake
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()
|