File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,17 @@ set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS
3737
3838if (NOT GTest_FOUND)
3939 add_subdirectory (
40- ${CMAKE_SOURCE_DIR} /ThirdParty/googletest ${CMAKE_BINARY_DIR} /ThirdParty/googletest
41- EXCLUDE_FROM_ALL
40+ ${CMAKE_SOURCE_DIR} /ThirdParty/googletest
41+ ${CMAKE_BINARY_DIR} /ThirdParty/googletest EXCLUDE_FROM_ALL
4242 )
4343
4444 if (NOT MSVC )
45- target_compile_options (gtest PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions" )
46- target_compile_options (gmock PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions" )
45+ target_compile_options (
46+ gtest PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions"
47+ )
48+ target_compile_options (
49+ gmock PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions"
50+ )
4751 target_compile_options (
4852 gtest_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions"
4953 )
You can’t perform that action at this time.
0 commit comments