mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix libraries linked to Android builds
This commit is contained in:
committed by
Michał Janiszewski
parent
362852f12e
commit
0029fca38f
@@ -166,14 +166,14 @@ file(GLOB_RECURSE OPENRCT2_CLI_SOURCES
|
||||
|
||||
add_library(openrct2 SHARED ${LIBOPENRCT2_SOURCES})
|
||||
target_link_libraries(openrct2
|
||||
android log dl GLESv1_CM GLESv2 z
|
||||
SDL2 png jansson speexdsp icu icuuc icudata ssl crypto
|
||||
android log dl z
|
||||
png jansson icu icuuc icudata ssl crypto
|
||||
)
|
||||
|
||||
add_library(openrct2-ui SHARED ${OPENRCT2_GUI_SOURCES})
|
||||
add_executable(openrct2-cli ${OPENRCT2_CLI_SOURCES})
|
||||
|
||||
target_link_libraries(openrct2-ui openrct2 SDL2main)
|
||||
target_link_libraries(openrct2-ui openrct2 GLESv1_CM GLESv2 SDL2 SDL2main speexdsp)
|
||||
target_link_libraries(openrct2-cli openrct2)
|
||||
|
||||
target_include_directories(openrct2-ui PRIVATE "${ORCT2_ROOT}/src")
|
||||
|
||||
Reference in New Issue
Block a user