From 13e3622ca748ed6446ed6c872f34155841ab092b Mon Sep 17 00:00:00 2001 From: ibs Date: Mon, 2 Nov 2015 14:40:15 +0300 Subject: [PATCH] 0026830: TKernel should not be linked with pthread and rt pthread and rt are not linked on android and qnx --- src/TKernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TKernel/CMakeLists.txt b/src/TKernel/CMakeLists.txt index b9a6dd11ea..0cd1aa0c47 100644 --- a/src/TKernel/CMakeLists.txt +++ b/src/TKernel/CMakeLists.txt @@ -25,7 +25,7 @@ if (WIN32) list( APPEND USED_LIBS gdi32.lib ) list( APPEND USED_LIBS user32.lib ) list( APPEND USED_LIBS kernel32.lib ) -elseif (NOT APPLE) +elseif (NOT APPLE AND NOT ANDROID AND NOT QNX) list( APPEND USED_LIBS pthread ) list( APPEND USED_LIBS rt ) endif()