summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-05-27 19:56:07 +0800
committerKeuin <[email protected]>2022-05-27 19:56:07 +0800
commitb3792188127e7c36f9bf8ae503ecf80ed42851d2 (patch)
tree9f1e0c43917195a03c94d15e523559e07a5483db
parentaa5669f38abf6e45bf0d832c5be7c7100c024665 (diff)
Switch to C11.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bdfa5a..bde7774 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0)
project(mobileqq_fp_cracker C)
-set(CMAKE_C_STANDARD 99)
+set(CMAKE_C_STANDARD 11)
set(common_compiler_args "-Wall -Werror -Wno-unused")
set(CMAKE_CXX_FLAGS_DEBUG "${common_compiler_args} -g -ggdb -fsanitize=address -DDEBUG")