Fix build of android support library with NDK 10.

This commit is contained in:
Ghislain MARY 2016-06-03 11:40:09 +02:00
parent 9617f53ce7
commit bdff7143dc

View file

@ -34,6 +34,9 @@ set(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
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}