forked from conda-forge/s2geometry-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index f080b4b..a771744 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/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 11 CACHE STRING "The C++ standard to build with") | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
# No compiler-specific extensions, i.e. -std=c++11, not -std=gnu++11. | ||
set(CMAKE_CXX_EXTENSIONS OFF) |
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