mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
989d2f590a
This might not be the final fix. Note the extensive code comment inside the cmake file if(). The comment suggest a potentially better fix, but it's unlikely. Signed-off-by: Mark Deric <jmark@openvpn.net>
16 lines
509 B
CMake
16 lines
509 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(googletest-download NONE)
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(googletest
|
|
GIT_REPOSITORY https://github.com/google/googletest.git
|
|
GIT_TAG "${OVPN_GTEST_VERSION}"
|
|
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
|
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build"
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
TEST_COMMAND ""
|
|
)
|