summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/CMakeLists.txt
diff options
context:
space:
mode:
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)