From efeeb25b0bd328e5972f715dc039f5012be2a1e8 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 22 Sep 2019 22:20:56 -0400 Subject: [PATCH] Update cxx and c standards for build --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22abc56..1f8048c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.13) project(blah) #set(CMAKE_BUILD_TYPE Debug) include_directories("${PROJECT_SOURCE_DIR}/src/") -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_C_STANDARD 11) #add_executable(test ${PROJECT_SOURCE_DIR}/src/test.cpp) find_package(PkgConfig REQUIRED)