From 0da4382d6c85409558f712f05c252a3ac275f976 Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Wed, 15 Nov 2023 19:08:19 +0100 Subject: [PATCH] Android example no longer needs to search Audio and Network modules as they are no longer being linked --- examples/android/app/src/main/jni/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/app/src/main/jni/CMakeLists.txt b/examples/android/app/src/main/jni/CMakeLists.txt index e93995dee..ceae0c9cc 100644 --- a/examples/android/app/src/main/jni/CMakeLists.txt +++ b/examples/android/app/src/main/jni/CMakeLists.txt @@ -7,7 +7,7 @@ set(SFML_DIR "${CMAKE_ANDROID_NDK}/sources/third_party/sfml/lib/${CMAKE_ANDROID_ add_library(sfml-example SHARED main.cpp) # Find and link SFML -find_package(SFML 3 REQUIRED COMPONENTS Graphics Audio Network) +find_package(SFML 3 REQUIRED COMPONENTS Graphics) target_link_libraries(sfml-example PRIVATE SFML::Graphics android log) # The ANativeActivity_onCreate function from SFML::Main needs to be exposed in