Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent 2199df9 commit d29d2cc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions config/AddGoogletest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ add_subdirectory(

if(NOT MSVC)
target_compile_options(gtest PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gmock PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gtest_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gmock_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gmock PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(
gtest_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions"
)
target_compile_options(
gmock_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions"
)
endif()

if(GOOGLE_TEST_INDIVIDUAL)
Expand Down

0 comments on commit d29d2cc

Please sign in to comment.