We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c5862 commit 585a3beCopy full SHA for 585a3be
indra/CMakeLists.txt
@@ -29,6 +29,15 @@ else()
29
set( USE_AUTOBUILD_3P ON )
30
endif()
31
32
+# The viewer code base can now be successfully compiled with -std=c++14. But
33
+# turning that on in the generic viewer-build-variables/variables file would
34
+# potentially require tweaking each of our ~50 third-party library builds.
35
+# Until we decide to set -std=c++14 in viewer-build-variables/variables, set
36
+# it locally here: we want to at least prevent inadvertently reintroducing
37
+# viewer code that would fail with C++14.
38
+set(CMAKE_CXX_STANDARD 17)
39
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
40
+
41
include(Variables)
42
include(BuildVersion)
43
0 commit comments