diff --git a/libraries/gpu/CMakeLists.txt b/libraries/gpu/CMakeLists.txt index 7f2b475dd2..b6bbba1c0f 100644 --- a/libraries/gpu/CMakeLists.txt +++ b/libraries/gpu/CMakeLists.txt @@ -31,6 +31,8 @@ elseif (WIN32) add_definitions(-DNSIGHT_FOUND) target_link_libraries(${TARGET_NAME} "${NSIGHT_LIBRARIES}") endif () +elseif (ANDROID) + target_link_libraries(${TARGET_NAME} "-lGLESv3" "-lEGL") else () find_package(OpenGL REQUIRED) diff --git a/libraries/gpu/src/gpu/GPUConfig.h b/libraries/gpu/src/gpu/GPUConfig.h index c399f51b66..5894d2a91d 100644 --- a/libraries/gpu/src/gpu/GPUConfig.h +++ b/libraries/gpu/src/gpu/GPUConfig.h @@ -23,6 +23,8 @@ #include #include +#elif defined(ANDROID) + #else #include #include