summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-07-25 16:50:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-07-25 16:50:30 (GMT)
commit27a3c00533ddc5b40d0d3be32ea6f3209f39f13e (patch)
treed177d73b050209642aab99eb5b61e1c834d02a2c /Tests/Wrapping/CMakeLists.txt
parentca4b50a0c2a50416d86aabd6af72c7f64395ce80 (diff)
downloadCMake-27a3c00533ddc5b40d0d3be32ea6f3209f39f13e.zip
CMake-27a3c00533ddc5b40d0d3be32ea6f3209f39f13e.tar.gz
CMake-27a3c00533ddc5b40d0d3be32ea6f3209f39f13e.tar.bz2
for unix add x11 and pthreads for qt
Diffstat (limited to 'Tests/Wrapping/CMakeLists.txt')
-rw-r--r--Tests/Wrapping/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index 2e3d02c..26c4b2e 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)