16 lines
603 B
Diff
16 lines
603 B
Diff
|
--- udav/CMakeLists.txt 2016-02-15 16:59:57.763709611 +0600
|
||
|
+++ udav/CMakeLists.txt 2016-02-16 10:57:58.345497232 +0600
|
||
|
@@ -38,10 +38,10 @@ endif(enable-qt5)
|
||
|
add_executable(udav ${udav_src} ${udav_moc_hdr} ${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 ${MGL_QT5_LIBS})
|
||
|
else(enable-qt5)
|
||
|
- target_link_libraries(udav mgl-qt4)
|
||
|
+ target_link_libraries(udav mgl-qt4 X11)
|
||
|
qt4_use_modules(udav ${MGL_QT4_LIBS})
|
||
|
endif(enable-qt5)
|
||
|
|