summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2017-07-09 13:15:24 +0200
committerGitHub <noreply@github.com>2017-07-09 13:15:24 +0200
commitad2462811a4093153ea9898200ab73ef4aea6f23 (patch)
tree2e5f54e1c8e4a20da4731aae7b1ab7bded7be047
parentbfe1656b8b4e812786c2ac44b5b2272ef7e9f3eb (diff)
downloadopenblas-ad2462811a4093153ea9898200ab73ef4aea6f23.tar.gz
openblas-ad2462811a4093153ea9898200ab73ef4aea6f23.tar.bz2
openblas-ad2462811a4093153ea9898200ab73ef4aea6f23.zip
Do not add -lpthread on Android builds (#1229)
* Do not add -lpthread on Android builds * Do not add -lpthread on Android cmake builds
-rw-r--r--cmake/os.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/os.cmake b/cmake/os.cmake
index f5a75027c..e9df68d7f 100644
--- a/cmake/os.cmake
+++ b/cmake/os.cmake
@@ -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 ()