Warning, /libraries/phonon/demos/phota/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
0002 project(phota)
0003 
0004 set(CMAKE_AUTOMOC TRUE)
0005 
0006 find_package(Phonon4Qt5 NO_MODULE) # Not required so it builds within phonon as well
0007 
0008 set(phota_SRCS
0009     main.cpp
0010     mainwindow.cpp
0011     mediacontroller.cpp
0012     videoeffects.cpp
0013 )
0014 
0015 qt5_wrap_ui(phota_SRCS videoeffects.ui)
0016 
0017 add_executable(phota ${phota_SRCS})
0018 target_link_libraries(phota Phonon::phonon4qt5 Qt5::Core Qt5::Widgets)