From 462cc7bce7d16b44f5c879318b4029d6423c5948 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Fri, 10 May 2024 11:31:34 +0200 Subject: [PATCH] CMake: Fix C standard --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad89d19..240cad9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(PROJECT_DESCRIPTION "Lightweight STUN/TURN server") option(USE_SYSTEM_JUICE "Use system libjuice" OFF) option(WARNINGS_AS_ERRORS "Treat warnings as errors" OFF) -set(C_STANDARD 11) +set(CMAKE_C_STANDARD 11) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules) if(WIN32)