Skip to content

Commit

Permalink
Merge pull request #135 from sintefmath/find_X11_library
Browse files Browse the repository at this point in the history
cmake does not include X11 in all(newer) versions
  • Loading branch information
fgfuchs committed Sep 3, 2015
2 parents 14202e0 + 187f7f9 commit 273ed47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trell_master/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 273ed47

Please sign in to comment.