Skip to content

Commit

Permalink
Disable char8_t support to allow compilation of gtest with libstdc++ …
Browse files Browse the repository at this point in the history
…(redux, again)
  • Loading branch information
BobSteagall committed Jun 29, 2020
1 parent 1bb9970 commit 0e814c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FetchContent_GetProperties(gtest)
option(BUILD_GMOCK "" OFF)
option(INSTALL_GTEST "" OFF)
option(gtest_force_shared_crt "" ON)
add_compile_options(-fno-char8_t)
add_compile_options(-U__cpp_char8_t)

if(NOT gtest_POPULATED)
FetchContent_Populate(gtest)
Expand Down

0 comments on commit 0e814c1

Please sign in to comment.