Skip to content

Commit 66bbffb

Browse files
committed
polish the test structure
1 parent 9c15db6 commit 66bbffb

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

cmake_modules/FindGTestAlt.cmake

Lines changed: 0 additions & 24 deletions
This file was deleted.

test/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
include(FindGTestAlt)
18+
fetchcontent_declare(googletest
19+
GIT_REPOSITORY https://github.com/google/googletest.git
20+
GIT_TAG b514bdc898e2951020cbdca1304b75f5950d1f59 # release-1.15.2
21+
FIND_PACKAGE_ARGS
22+
NAMES
23+
GTest)
24+
fetchcontent_makeavailable(googletest)
1925

2026
add_subdirectory(core)

0 commit comments

Comments
 (0)