+5
-1
lines changedFilter options
+5
-1
lines changed Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ set_if(LINUX ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
39
39
set_if(BSD ${SYSNAME_LC} MATCHES "bsd$")
40
40
set_if(MICROSOFT WIN32 AND (NOT MINGW AND NOT CYGWIN))
41
41
set_if(GNU ${CMAKE_SYSTEM_NAME} MATCHES "GNU")
42
-
set_if(ANDROID ${CMAKE_SYSTEM_NAME} MATCHES "ANDROID")
42
+
set_if(ANDROID "${CMAKE_SYSTEM_NAME}" MATCHES "^[Aa][Nn][Dd][Rr][Oo][Ii][Dd]")
43
43
set_if(POSIX LINUX OR DARWIN OR BSD OR ANDROID OR (CYGWIN AND CYGWIN_USE_POSIX))
44
44
set_if(SYMLINKABLE LINUX OR DARWIN OR BSD OR CYGWIN OR GNU)
45
45
@@ -867,6 +867,8 @@ if (srt_libspec_shared)
867
867
target_link_libraries(${TARGET_srt}_shared PRIVATE wsock32.lib ws2_32.lib)
868
868
elseif (APPLE)
869
869
set_property(TARGET ${TARGET_srt}_shared PROPERTY MACOSX_RPATH ON)
870
+
elseif (ANDROID)
871
+
target_link_libraries(${TARGET_srt}_shared PRIVATE atomic)
870
872
endif()
871
873
if (USE_GNUSTL)
872
874
target_link_libraries(${TARGET_srt}_shared PRIVATE ${GNUSTL_LIBRARIES} ${GNUSTL_LDFLAGS})
@@ -901,6 +903,8 @@ if (srt_libspec_static)
901
903
endif()
902
904
elseif (MINGW)
903
905
target_link_libraries(${TARGET_srt}_static PRIVATE wsock32 ws2_32)
906
+
elseif (ANDROID)
907
+
target_link_libraries(${TARGET_srt}_static PUBLIC atomic)
904
908
endif()
905
909
if (USE_GNUSTL)
906
910
target_link_libraries(${TARGET_srt}_static PRIVATE ${GNUSTL_LIBRARIES} ${GNUSTL_LDFLAGS})
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4