diff --git a/src/trell_master/CMakeLists.txt b/src/trell_master/CMakeLists.txt index c9fc7a5..3ca33fa 100644 --- a/src/trell_master/CMakeLists.txt +++ b/src/trell_master/CMakeLists.txt @@ -9,9 +9,10 @@ SET( TRELL_MASTER_SRC "RenderingDevices.cpp" ) +find_package( X11 REQUIRED ) find_package (Threads) ADD_EXECUTABLE( tinia_trell_master ${TRELL_MASTER_SRC} ) -TARGET_LINK_LIBRARIES( tinia_trell_master tinia_renderlist tinia_renderlistgl tinia_trell ${RT} ${CMAKE_THREAD_LIBS_INIT} tinia_jobcontroller ${LIBXML2_LIBRARIES} ${OPENGL_LIBRARY} tinia_model tinia_modelxml ) +TARGET_LINK_LIBRARIES( tinia_trell_master tinia_renderlist tinia_renderlistgl tinia_trell ${RT} ${CMAKE_THREAD_LIBS_INIT} tinia_jobcontroller ${X11_LIBRARIES} ${LIBXML2_LIBRARIES} ${OPENGL_LIBRARY} tinia_model tinia_modelxml ) INSTALL( TARGETS