diff options
author | sanine <sanine.not@pm.me> | 2021-08-29 19:52:14 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2021-08-29 19:52:14 -0500 |
commit | b198d914dba288c736973e38b6fde06b768b8587 (patch) | |
tree | 72e4b6e24daf3c0395e2a7db38a2a70c1ffcb082 /CMakeLists.txt | |
parent | 423b3c6a9faf646865841ee617d50356c12a1ec9 (diff) |
strengthen tests and implement table creation cleanup
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 50f3ede..cca86ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,9 @@ set(HONEYSUCKLE_SOURCES ${HS_ROOT}/honeysuckle.c ) add_library(honeysuckle ${HONEYSUCKLE_SOURCES}) -set_target_properties(honeysuckle PROPERTIES CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic") +set_target_properties(honeysuckle PROPERTIES + C_STANDARD 99 + CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic") target_link_libraries(honeysuckle ${LUA_LIBRARIES}) set_target_properties(honeysuckle PROPERTIES VERSION ${PROJECT_VERSION} @@ -40,7 +42,9 @@ set(TEST_SOURCES # ${TEST_ROOT}/hs_rxx_tests.c ) add_executable(test EXCLUDE_FROM_ALL ${TEST_SOURCES}) -set_target_properties(test PROPERTIES CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic") +set_target_properties(test PROPERTIES + C_STANDARD 99 + CMAKE_C_FLAGS "-Wall -Wextra -Werror -Wfatal-errors -Wpedantic") target_link_libraries(test ${LUA_LIBRARIES} honeysuckle) include(GNUInstallDirs) |