seperate glesv2
This commit is contained in:
parent
0ffb0be5e1
commit
3ec57627ce
|
|
@ -120,10 +120,14 @@ set(SWAPPY_ENABLED TRUE)
|
||||||
|
|
||||||
add_definitions(-DSWAPPY_ENABLED)
|
add_definitions(-DSWAPPY_ENABLED)
|
||||||
|
|
||||||
target_link_libraries( swappy
|
set(LIBS
|
||||||
|
swappy_static
|
||||||
|
android
|
||||||
|
log
|
||||||
|
atomic)
|
||||||
|
|
||||||
swappy_static
|
if(CC_USE_GLES3 OR CC_USE_GLES2)
|
||||||
android
|
list(APPEND LIBS GLESv2)
|
||||||
GLESv2
|
endif()
|
||||||
log
|
|
||||||
atomic)
|
target_link_libraries( swappy ${LIBS})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue