Merge pull request #6914 from libgit2/ethomson/cmake

cmake-standard c standards
This commit is contained in:
Edward Thomson
2024-10-20 23:17:32 +01:00
committed by GitHub
14 changed files with 11 additions and 38 deletions

View File

@@ -3,7 +3,6 @@
file(GLOB SRC_EXAMPLES *.c *.h)
add_executable(lg2 ${SRC_EXAMPLES})
set_c_standard(lg2)
# Ensure that we do not use deprecated functions internally
add_definitions(-DGIT_DEPRECATE_HARD)