]> OCCT Git - occt-copy.git/commitdiff
0026830: TKernel should not be linked with pthread and rt
authoribs <ibs@opencascade.com>
Mon, 2 Nov 2015 11:40:15 +0000 (14:40 +0300)
committeribs <ibs@opencascade.com>
Mon, 2 Nov 2015 11:41:08 +0000 (14:41 +0300)
pthread and rt are not linked on android and qnx

src/TKernel/CMakeLists.txt

index b9a6dd11ea733b356a9a73b6aea4530adc5e7cff..0cd1aa0c477c7cd0ba59c4920ab8ac803ecd75ef 100644 (file)
@@ -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()