Ver Fonte

for unix add x11 and pthreads for qt

Bill Hoffman há 22 anos atrás
pai
commit
27a3c00533
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      Tests/Wrapping/CMakeLists.txt

+ 3 - 0
Tests/Wrapping/CMakeLists.txt

@@ -102,6 +102,9 @@ INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
 INCLUDE_DIRECTORIES( ./ )
 
 LINK_LIBRARIES( ${QT_LIBRARIES} )
+IF(UNIX)
+  LINK_LIBRARIES(-lX11 -lpthread)
+ENDIF(UNIX)
 
 QT_WRAP_CPP (wraplibQT QT_SRCS SRCS)