Files
qtmultimedia/tests/auto/cmake/CMakeLists.txt
Stephen Kelly 697abcc532 Test the cmake multimediawidgets module only if widgets is available.
Change-Id: I381e1b0883fb4fdc68627848ee39a26ce22e2ba5
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-03-14 19:33:59 +01:00

25 lines
355 B
CMake

cmake_minimum_required(VERSION 2.8)
project(qmake_cmake_files)
enable_testing()
find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
set(qt_module_includes
Multimedia QCamera
)
if (NOT NO_WIDGETS)
list(APPEND qt_module_includes
MultimediaWidgets QVideoWidget
)
endif()
test_module_includes(
${qt_module_includes}
)