Do not add -lpthread on Android builds

This commit is contained in:
Martin Kroeker 2017-07-08 23:21:50 +02:00 committed by GitHub
parent 482015f8d6
commit b85aa82475
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ if (CYGWIN)
set(NO_EXPRECISION 1)
endif ()
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Interix")
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Interix" AND NOT $(CMAKE_SYSTEM_NAME) STREQUAL "Android")
if (SMP)
set(EXTRALIB "${EXTRALIB} -lpthread")
endif ()