disable swappy by default (#245)
This commit is contained in:
parent
9e98579fc3
commit
e5e37407a3
|
|
@ -99,9 +99,7 @@ if(CC_USE_VULKAN)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library( swappy_static
|
add_library( swappy_static
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
|
||||||
${SRC_FILE}
|
${SRC_FILE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/classes_dex.o
|
${CMAKE_CURRENT_BINARY_DIR}/classes_dex.o
|
||||||
# Add new source files here
|
# Add new source files here
|
||||||
|
|
@ -111,15 +109,11 @@ add_library( swappy_static
|
||||||
set_target_properties( swappy_static PROPERTIES
|
set_target_properties( swappy_static PROPERTIES
|
||||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build )
|
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
add_library(swappy
|
add_library(swappy
|
||||||
|
|
||||||
SHARED
|
SHARED
|
||||||
|
|
||||||
${SWAPPY_C_SRC})
|
${SWAPPY_C_SRC})
|
||||||
|
|
||||||
set(SWAPPY_ENABLED TRUE)
|
set(SWAPPY_ENABLED FALSE)
|
||||||
add_definitions(-DSWAPPY_ENABLED)
|
add_definitions(-DSWAPPY_ENABLED)
|
||||||
|
|
||||||
set(LIBS
|
set(LIBS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue