1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

fix: force c99

This commit is contained in:
Falk Werner 2019-02-10 09:22:58 +01:00
parent 75496cdefd
commit da534a1cea

View File

@ -11,7 +11,8 @@ pkg_check_modules(FUSE3 REQUIRED fuse3)
pkg_check_modules(LWS REQUIRED libwebsockets) pkg_check_modules(LWS REQUIRED libwebsockets)
pkg_check_modules(JANSSON REQUIRED jansson) pkg_check_modules(JANSSON REQUIRED jansson)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -Wextra") set(CMAKE_C_STANDARD 99)
set(C_WARNINGS -Wall -Wextra)
set(EXTRA_INCLUDE_DIRS set(EXTRA_INCLUDE_DIRS
"inc" "inc"
@ -29,6 +30,8 @@ set(EXTRA_LIBS
) )
set(EXTRA_CFLAGS set(EXTRA_CFLAGS
${CMAKE_C_FLAGS}
${C_WARNINGS}
${FUSE3_CFLAGS_OTHER} ${FUSE3_CFLAGS_OTHER}
${LWS_CFLAGS_OTHER} ${LWS_CFLAGS_OTHER}
${JANSSON_CFLAGS_OTHER} ${JANSSON_CFLAGS_OTHER}