Skip to content

Commit

Permalink
LocalGTest.cmake: set BUILD_GMOCK option to OFF
Browse files Browse the repository at this point in the history
ON was apparently a copy-and-paste error. This matches the
-DBUILD_GMOCK=OFF -Dgtest_force_shared_crt=ON options in
ext/googletest.cmd.
  • Loading branch information
wantehchang committed Aug 2, 2024
1 parent 93b4ad4 commit 2a082e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/LocalGTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else()
GIT_SHALLOW ON
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
set(BUILD_GMOCK ON CACHE BOOL "" FORCE)
set(BUILD_GMOCK OFF CACHE BOOL "" FORCE)

avif_fetchcontent_populate_cmake(googletest)

Expand Down

0 comments on commit 2a082e6

Please sign in to comment.