Merge pull request #835 from aaboyd/link-android-log

add 'log' to SYSLIBS when compiling Foundation for android
This commit is contained in:
Aleksandar Fabijanic 2015-05-26 18:42:42 -05:00
commit 9ce48223e9

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)