forked from rosebudai/OpenRCT2-Web
Fix libraries linked to Android builds
This commit is contained in:
1 parent
362852f12e
commit
0029fca38f
1 file changed
+3
-3
@@ -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