Update CMakeLists.txt

Co-authored-by: Denis Glazachev <traceon@users.noreply.github.com>
This commit is contained in:
alexey-milovidov 2021-03-29 21:05:00 +03:00 committed by GitHub
parent 9ab41fe4c4
commit c71da4a5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,9 +266,9 @@ else ()
set (CMAKE_CXX_STANDARD_REQUIRED ON)
endif ()
#set (CMAKE_C_STANDARD 11)
#set (CMAKE_C_EXTENSIONS ON)
#set (CMAKE_C_STANDARD_REQUIRED ON)
set (CMAKE_C_STANDARD 11)
set (CMAKE_C_EXTENSIONS ON)
set (CMAKE_C_STANDARD_REQUIRED ON)
if (COMPILER_GCC OR COMPILER_CLANG)
# Enable C++14 sized global deallocation functions. It should be enabled by setting -std=c++14 but I'm not sure.