Skip to content

Commit

Permalink
suppress implicit function declaration errors (#352)
Browse files Browse the repository at this point in the history
otherwise compile failed on Android NDK r27
  • Loading branch information
Cryolitia authored Jul 25, 2024
1 parent 8aa5ad2 commit 41be167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if (MSVC)
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
"${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR
"${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-implicit-function-declaration")
endif (MSVC)

####
Expand Down

0 comments on commit 41be167

Please sign in to comment.