From a892c50147488137df79b8538bdb6ed06a1566a7 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 30 Jun 2022 15:31:03 +0100 Subject: [PATCH] doc: CMAKE_C_STANDARD is C not C++ --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e8ff68..7e759b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}${DEV}") set(PACKAGE_STRING "${PROJECT_NAME} ${PROJECT_VERSION}") set(PACKAGE_BUGREPORT "Michal.Trojnara@stunnel.org") -# specify the C++ standard +# specify the C standard set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON)