aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aes/CMakeLists.txt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-07-23 13:00:23 +0200
committerEgor Tensin <egor@tensin.name>2026-07-23 13:11:27 +0200
commit77ff39ce2e659dd72e00999467a3cb769fc92894 (patch)
treee879cb58bdd25768251c4208276730da63d24158 /aes/CMakeLists.txt
parentaes/error: fix missing error message (diff)
downloadaes-tools-77ff39ce2e659dd72e00999467a3cb769fc92894.tar.gz
aes-tools-77ff39ce2e659dd72e00999467a3cb769fc92894.zip
aes/error: add static asserts to prevent missing error messages
Diffstat (limited to 'aes/CMakeLists.txt')
-rw-r--r--aes/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/aes/CMakeLists.txt b/aes/CMakeLists.txt
index e665b94..e48fe24 100644
--- a/aes/CMakeLists.txt
+++ b/aes/CMakeLists.txt
@@ -1,3 +1,6 @@
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_C_STANDARD_REQUIRED ON)
+
option(AES_TOOLS_ASM "Use the assembly language implementation instead of the one in C")
file(GLOB_RECURSE aes_include CONFIGURE_DEPENDS "include/*.h")