[vlmc-devel] Remove qt4 leftover

Hugo Beauzée-Luyssen git at videolan.org
Mon Jul 4 15:34:34 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jun  2 09:27:00 2016 +0200| [c24225037c3f0caab5dd98b02c3137ba8a75b597] | committer: Hugo Beauzée-Luyssen

Remove qt4 leftover

> https://code.videolan.org/videolan/vlmc/commit/c24225037c3f0caab5dd98b02c3137ba8a75b597
---

 src/CMakeLists.txt | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 506f31e..af92104 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -296,13 +296,7 @@ ELSE(NOT WITH_GUI)
 
     ADD_EXECUTABLE( vlmc ${GUI_TYPE} ${VLMC_SRCS} ${VLMC_MOC_SRCS} ${VLMC_UIS_H} ${VLMC_RCC_SRCS} )
     TARGET_LINK_LIBRARIES( vlmc ${VLMC_LIBS} )
-    if (NOT Qt4_FOUND)
-        qt5_use_modules(vlmc Core Gui Widgets Network)
-    else()
-        # We need to know the target for this one, which is not the case when doing most of the QT4/5 specific stuff.
-        # We could hide this command in qt_use_modules macro, but this would be some kind of black magic uglyness
-        TARGET_LINK_LIBRARIES(vlmc ${QT_LIBRARIES})
-    endif()
+    qt5_use_modules(vlmc Core Gui Widgets Network)
 ENDIF( NOT WITH_GUI )
 
 add_dependencies(vlmc libvlcpp)



More information about the Vlmc-devel mailing list