Skip to content

Commit 585a3be

Browse files
committed
D587 Post merge build fix #3
1 parent e7c5862 commit 585a3be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

indra/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ else()
2929
set( USE_AUTOBUILD_3P ON )
3030
endif()
3131

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+
3241
include(Variables)
3342
include(BuildVersion)
3443

0 commit comments

Comments
 (0)