Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before: ... -std=c++17 -DNDEBUG -std=c++11 ... After: ... -DNDEBUG -std=c++17 ...
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- CMakeLists.txt.orig 2022-04-01 11:53:29 UTC | ||
+++ CMakeLists.txt | ||
@@ -19,7 +19,7 @@ endif() | ||
# undefined symbol errors since ABSL_HAVE_STD_STRING_VIEW etc will | ||
# end up defined differently. There is probably a better way to achieve | ||
# this than assuming what absl used. | ||
-set(CMAKE_CXX_STANDARD 11) | ||
+set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
# No compiler-specific extensions, i.e. -std=c++11, not -std=gnu++11. | ||
set(CMAKE_CXX_EXTENSIONS OFF) |