mirror of
https://github.com/RetroShare/libretroshare.git
synced 2026-09-14 11:05:45 +05:00
CMake properly link to miniupnpc
Fix linking and runtime errors such as AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strupnperror" referenced by "/data/app/... libretroshare.so"
This commit is contained in:
parent
b79ce23ef7
commit
d2fc893de7
@ -380,6 +380,7 @@ endif(RS_DH_PRIME_INIT_CHECK)
|
||||
|
||||
if(RS_MINIUPNPC)
|
||||
add_compile_definitions(RS_USE_LIBMINIUPNPC)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE miniupnpc)
|
||||
endif(RS_MINIUPNPC)
|
||||
|
||||
if(RS_LIBUPNP)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user