for unix add x11 and pthreads for qt
This commit is contained in:
parent
ca4b50a0c2
commit
27a3c00533
|
@ -102,6 +102,9 @@ INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} )
|
||||||
INCLUDE_DIRECTORIES( ./ )
|
INCLUDE_DIRECTORIES( ./ )
|
||||||
|
|
||||||
LINK_LIBRARIES( ${QT_LIBRARIES} )
|
LINK_LIBRARIES( ${QT_LIBRARIES} )
|
||||||
|
IF(UNIX)
|
||||||
|
LINK_LIBRARIES(-lX11 -lpthread)
|
||||||
|
ENDIF(UNIX)
|
||||||
|
|
||||||
QT_WRAP_CPP (wraplibQT QT_SRCS SRCS)
|
QT_WRAP_CPP (wraplibQT QT_SRCS SRCS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue