From 8b9beb272db731ef95b8d673b3efa68395ed7f98 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 12 Sep 2025 19:30:45 +0200 Subject: [PATCH] Silence cmake warning for unused variable --- client/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index dbc4e89a..35a33459 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -184,6 +184,9 @@ if(USE_ANDROID_VALIDATION_LAYER) file(COPY ${CMAKE_BINARY_DIR}/Vulkan-ValidationLayer/android-binaries-${VVL_VERSION}/${CMAKE_ANDROID_ARCH_ABI} DESTINATION ${CMAKE_ANDROID_LIB_DIRECTORIES}) +else() + # silence "Manually-specified variables were not used by the project" warning + set(_unused ${CMAKE_ANDROID_LIB_DIRECTORIES}) endif()