Fix build of android support library with NDK 10.
This commit is contained in:
parent
9617f53ce7
commit
bdff7143dc
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ set(SUPPORT_SOURCES
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(support STATIC ${SUPPORT_SOURCES})
|
add_library(support STATIC ${SUPPORT_SOURCES})
|
||||||
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||||
|
target_compile_options(support PRIVATE "-std=c99")
|
||||||
|
endif()
|
||||||
|
|
||||||
install(TARGETS support
|
install(TARGETS support
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
|
Loading…
Reference in a new issue