Commit b6979077 authored by Bartosz Podrygajlo's avatar Bartosz Podrygajlo

Introduce googletest as an external project using FetchContent.

This change adds CMake instructions to automatically download & compile Google Test library version 1.12.1.
parent 9fd1b9ac
...@@ -2500,3 +2500,4 @@ add_subdirectory(openair1) ...@@ -2500,3 +2500,4 @@ add_subdirectory(openair1)
add_subdirectory(openair2) add_subdirectory(openair2)
add_subdirectory(openair3) add_subdirectory(openair3)
add_subdirectory(radio) add_subdirectory(radio)
add_subdirectory(third_party)
include(FetchContent)
add_subdirectory(googletest)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG 58d77fa8070e8cec2dc1ed015d66b454c8d78850 # 1.12.1
)
set(BUILD_GMOCK OFF)
set(INSTALL_GTEST OFF)
FetchContent_MakeAvailable(googletest)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment