Update cxx and c standards for build
This commit is contained in:
parent
dd7b1cf2d1
commit
efeeb25b0b
|
@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.13)
|
||||||
project(blah)
|
project(blah)
|
||||||
#set(CMAKE_BUILD_TYPE Debug)
|
#set(CMAKE_BUILD_TYPE Debug)
|
||||||
include_directories("${PROJECT_SOURCE_DIR}/src/")
|
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)
|
#add_executable(test ${PROJECT_SOURCE_DIR}/src/test.cpp)
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
|
|
Loading…
Reference in New Issue