diff options
| author | Charles Giessen <charles@lunarg.com> | 2023-06-15 13:32:35 -0600 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2023-06-16 15:06:03 -0600 |
| commit | 2df3b914ca72c030e2f47c87146252df23cf663f (patch) | |
| tree | 62101921af72734f9362f3399a1a6f963ad550d8 | |
| parent | 98fe631044dfde2841b7b4204adb22b72627bd4f (diff) | |
| download | usermoji-2df3b914ca72c030e2f47c87146252df23cf663f.tar.xz | |
build: Update to C++14 as minimum version
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 192c2bcc..8407a4ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 ${COMMON_COMPILE_FLAGS}") endif() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILE_FLAGS} -std=c++11 -fno-rtti") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILE_FLAGS} -std=c++14 -fno-rtti") if(UNIX) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") |
