disable swappy by default (#245)

This commit is contained in:
Zeqiang Li 2022-04-11 10:54:04 +08:00 committed by GitHub
parent 9e98579fc3
commit e5e37407a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 14 deletions

View File

@ -99,27 +99,21 @@ if(CC_USE_VULKAN)
endif()
add_library( swappy_static
STATIC
${SRC_FILE}
${CMAKE_CURRENT_BINARY_DIR}/classes_dex.o
# Add new source files here
STATIC
${SRC_FILE}
${CMAKE_CURRENT_BINARY_DIR}/classes_dex.o
# Add new source files here
)
set_target_properties( swappy_static PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build )
add_library(swappy
SHARED
${SWAPPY_C_SRC})
add_library( swappy
SHARED
${SWAPPY_C_SRC})
set(SWAPPY_ENABLED TRUE)
set(SWAPPY_ENABLED FALSE)
add_definitions(-DSWAPPY_ENABLED)
set(LIBS