From bf505d9efd7d1e633534940373a197824c9045c0 Mon Sep 17 00:00:00 2001 From: gyk4j <147011991+gyk4j@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:05:41 +0800 Subject: [PATCH] Set C standard to C99 --- c/wsgup/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/wsgup/CMakeLists.txt b/c/wsgup/CMakeLists.txt index f45b6df..adf46f3 100644 --- a/c/wsgup/CMakeLists.txt +++ b/c/wsgup/CMakeLists.txt @@ -1,6 +1,7 @@ -cmake_minimum_required(VERSION 3.0.0) +cmake_minimum_required(VERSION 3.5.0) project(wsgup VERSION 0.0.1 LANGUAGES C) +set_property(TARGET wsgup PROPERTY C_STANDARD 99) # set(OPENSSL_ROOT_DIR "/usr/lib") # set(OPENSSL_USE_STATIC_LIBS TRUE)