summaryrefslogtreecommitdiff
blob: 6410bf7f7bc437fc2a3db0ead501dddd31df1f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -284,7 +284,7 @@
   set( PROGNAME wally )
 
   add_executable( ${PROGNAME} ${WALLY_QMS} ${WALLY_SRCS} ${WALLY_MOC_SRCS} ${WALLY_IMAGES_RC_SRCS} ${WALLY_LANGUAGES_RC_SRCS} ${WALLY_UI_HDRS} )
-  target_link_libraries( ${PROGNAME} ${QT_LIBRARIES} ${EXIF_LIBRARIES} )
+  target_link_libraries( ${PROGNAME} ${QT_LIBRARIES} ${EXIF_LIBRARIES} -lX11 )
   install( TARGETS ${PROGNAME} DESTINATION /usr/bin )
 
   if( CMAKE_BUILD_TYPE STREQUAL Release )