Skip to content

partial revert of 578fa27 - #83

Merged
DichenZhang1 merged 1 commit into
google:mainfrom
ittiam-systems:cmake-gtest
Mar 26, 2024
Merged

partial revert of 578fa27#83
DichenZhang1 merged 1 commit into
google:mainfrom
ittiam-systems:cmake-gtest

Conversation

@harishdm

Copy link
Copy Markdown
Contributor

find_package(GTest) does not guarantee the installation of GMock. On systems with only GTest installed, the build will fail due to absence of GMock. There is no reliable way to check for GMock. Hence clone and build googletest while running unit tests

Test: ./ultrahdr_unit_test
Change-Id: Icd3ecba6debbd7999d15541dd8dc5f451d110909

find_package(GTest) does not guarantee the installation of GMock.
On systems with only GTest installed, the build will fail due to
absence of GMock. There is no reliable way to check for GMock.
Hence clone and build googletest while running unit tests

Test: ./ultrahdr_unit_test
Change-Id: Icd3ecba6debbd7999d15541dd8dc5f451d110909
@DichenZhang1
DichenZhang1 merged commit d7f2414 into google:main Mar 26, 2024
@harishdm
harishdm deleted the cmake-gtest branch March 26, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants