mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Android example no longer needs to search Audio and Network modules as they are no longer being linked
This commit is contained in:
parent
18dfcedbd9
commit
0da4382d6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user