12 lines
517 B
Diff
12 lines
517 B
Diff
--- udav/CMakeLists.txt.orig 2015-03-21 14:42:01.325397847 +0600
|
|
+++ udav/CMakeLists.txt 2015-03-21 14:42:15.145923191 +0600
|
|
@@ -38,7 +38,7 @@ endif(enable-qt5)
|
|
add_executable(udav ${udav_src} ${udav_moc_src} ${udav_rc_src})
|
|
#set_target_properties(udav PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
|
if(enable-qt5)
|
|
- target_link_libraries(udav mgl-qt5)
|
|
+ target_link_libraries(udav mgl-qt5 X11)
|
|
qt5_use_modules(udav Core Widgets Gui PrintSupport)
|
|
else(enable-qt5)
|
|
target_link_libraries(udav mgl-qt4)
|