From 27a3c00533ddc5b40d0d3be32ea6f3209f39f13e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 25 Jul 2003 12:50:30 -0400 Subject: [PATCH] for unix add x11 and pthreads for qt --- Tests/Wrapping/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 2e3d02c95..26c4b2ecb 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/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)