File djv-1.0.5_link_library.patch of Package djv (Revision 2fea5ef395b81a5013960df8f9862ee6)

Currently displaying revision 2fea5ef395b81a5013960df8f9862ee6 , Show latest

12
 
1
--- a/lib/djvCore/CMakeLists.txt
2
+++ b/lib/djvCore/CMakeLists.txt
3
@@ -167,7 +167,7 @@ include_directories(${djvCoreIncludeDirs
4
 
5
 add_library(djvCore ${header} ${source} ${mocSource} ${rccSource} ${qmSource})
6
 
7
-target_link_libraries(djvCore ${djvCoreDeps})
8
+target_link_libraries(djvCore ${djvCoreDeps} -lX11)
9
 
10
 set_target_properties(djvCore PROPERTIES VERSION 0.0.0 SOVERSION 0)
11
 
12