Commit ebff6140 authored by Rohit Yadav's avatar Rohit Yadav Committed by Hugo Beauzée-Luyssen

Add code to include frei0r. Refactor, add VLMC_LIBS to be used for linking...

Add code to include frei0r. Refactor, add VLMC_LIBS to be used for linking multiple libraries. Add QtNetwork module, used in YouTube services.
Signed-off-by: default avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent 0fe5e93e
......@@ -78,14 +78,29 @@ FIND_PACKAGE(LIBVLC)
INCLUDE_DIRECTORIES(${LIBVLC_INCLUDE_DIR})
FIND_PACKAGE(frei0r)
IF (NOT FREI0R_FOUND)
MESSAGE (SEND_ERROR "frei0r not found! It is required for effects engine to work.")
ENDIF (NOT FREI0R_FOUND)
INCLUDE_DIRECTORIES(${FREI0R_INCLUDE_DIR})
# search for Qt4
IF (WITH_GUI)
FIND_PACKAGE(Qt4 4.5.1 COMPONENTS QtCore QtXml QtGui QtSvg REQUIRED )
FIND_PACKAGE (Qt4 4.5.1 COMPONENTS QtCore QtGui QtNetwork QtSvg QtXml REQUIRED)
ELSE(WITH_GUI)
# Search for QtGui as the effets engine requires QImage.
FIND_PACKAGE(Qt4 4.5.1 COMPONENTS QtCore QtXml QtGui REQUIRED )
FIND_PACKAGE (Qt4 4.5.1 COMPONENTS QtCore QtGui QtNetwork QtXml REQUIRED)
ENDIF(WITH_GUI)
SET (VLMC_LIBS ${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTSVG_LIBRARY}
${QT_QTXML_LIBRARY}
${LIBVLC_LIBRARY}
${LIBVLCCORE_LIBRARY})
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment