mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 12:49:07 +08:00
14 lines
393 B
Diff
14 lines
393 B
Diff
|
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
||
|
index eeda520..f55080e 100644
|
||
|
--- a/cpp/CMakeLists.txt
|
||
|
+++ b/cpp/CMakeLists.txt
|
||
|
@@ -921,7 +921,7 @@ if(WIN32)
|
||
|
list(APPEND ARROW_SYSTEM_LINK_LIBS "ws2_32.dll")
|
||
|
endif()
|
||
|
|
||
|
-if(NOT WIN32 AND NOT APPLE)
|
||
|
+if(NOT WIN32 AND NOT APPLE AND NOT ANDROID)
|
||
|
# Pass -lrt on Linux only
|
||
|
list(APPEND ARROW_SYSTEM_LINK_LIBS rt)
|
||
|
endif()
|