From: ibs Date: Mon, 2 Nov 2015 11:40:15 +0000 (+0300) Subject: 0026830: TKernel should not be linked with pthread and rt X-Git-Tag: V7_0_0_beta~156 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=13e3622ca748ed6446ed6c872f34155841ab092b;p=occt-copy.git 0026830: TKernel should not be linked with pthread and rt pthread and rt are not linked on android and qnx --- 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()