diff --git a/Source/UnitTests/CMakeLists.txt b/Source/UnitTests/CMakeLists.txt index 2ec996ce46..479d96c88e 100644 --- a/Source/UnitTests/CMakeLists.txt +++ b/Source/UnitTests/CMakeLists.txt @@ -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 diff --git a/Source/UnitTests/VideoCommon/CMakeLists.txt b/Source/UnitTests/VideoCommon/CMakeLists.txt index 9c1b32b595..b5198536ed 100644 --- a/Source/UnitTests/VideoCommon/CMakeLists.txt +++ b/Source/UnitTests/VideoCommon/CMakeLists.txt @@ -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)