1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-05 18:10:23 +08:00

在编译选项中加入c99支持

This commit is contained in:
源文雨
2022-04-18 16:33:05 +08:00
parent af160d2906
commit 0af753a54e

View File

@@ -8,6 +8,10 @@ if (${isBigEndian})
add_definitions(-DWORDS_BIGENDIAN)
endif()
#在编译选项中加入c99支持
add_compile_options(-std=c99)
message(STATUS "optional:-std=c99")
set(TEST 0)
if(TEST)
add_definitions(-DTEST_SIMPLE_CRYPTO)