Drop some redundant vars and improve arch detection in CMake.

This commit is contained in:
2017-08-17 02:04:36 +10:00
parent 7242cdc4ec
commit 38d273ea03
4 changed files with 62 additions and 67 deletions

View File

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