add 'log' to SYSLIBS when compiling Foundation for android

This commit is contained in:
Alex Boyd 2015-05-26 15:37:36 -04:00
parent 92f287ffd8
commit c23f6f0b57

View File

@ -104,6 +104,10 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
set_target_properties( "${LIBNAME}" PROPERTIES LINK_FLAGS "-library=stlport4")
endif (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
if(ANDROID)
set(SYSLIBS ${SYSLIBS} log)
endif(ANDROID)
# TODO: Why is this here?
add_definitions( -DPCRE_STATIC)