[Android] Fix building unit tests.

This commit is contained in:
Ryan Houdek 2015-02-18 16:24:30 -06:00
parent 861d341f4c
commit 0567b28ba1
2 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,9 @@ set(LIBS core gtest)
if(APPLE)
list(APPEND LIBS ${FOUNDATION_LIBRARY} ${CORESERV_LIBRARY})
endif()
if(ANDROID)
set(LIBS ${LIBS} android log)
endif()
macro(add_dolphin_test target srcs)
# Since this is a Core dependency, it can't be linked as a library and has
# to be linked as an object file. Otherwise CMake inserts the library after

View File

@ -1,4 +1 @@
# This test currently doesn't link correctly when EGL is enabled due to issues with the GLInterface design
if(NOT USE_EGL)
add_dolphin_test(VertexLoaderTest VertexLoaderTest.cpp)
endif()
add_dolphin_test(VertexLoaderTest VertexLoaderTest.cpp)