From 0ffb0be5e11ec4e09f158ddaee4153e036cc87f5 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Sun, 13 Mar 2022 12:56:01 +0800 Subject: [PATCH] optional --- sources/Swappy/src/swappy/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/Swappy/src/swappy/CMakeLists.txt b/sources/Swappy/src/swappy/CMakeLists.txt index 59810a99..f616f100 100644 --- a/sources/Swappy/src/swappy/CMakeLists.txt +++ b/sources/Swappy/src/swappy/CMakeLists.txt @@ -116,6 +116,8 @@ add_library( swappy ${SWAPPY_C_SRC}) +set(SWAPPY_ENABLED TRUE) + add_definitions(-DSWAPPY_ENABLED) target_link_libraries( swappy