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 4ac0f41 commit b2916fa
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 PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gmock PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gtest_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gmock_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gmock PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(
gtest_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions"
)
target_compile_options(
gmock_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions"
)
endif()

if(GOOGLE_TEST_INDIVIDUAL)
Expand Down

0 comments on commit b2916fa

Please sign in to comment.