File: CMakeLists.txt

package info (click to toggle)
qtwebchannel-opensource-src 5.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,000 kB
  • ctags: 409
  • sloc: cpp: 2,726; makefile: 36; ansic: 14
file content (18 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

cmake_minimum_required(VERSION 2.8)

project(qmake_cmake_files)

enable_testing()

find_package(Qt5Core REQUIRED)

include("${_Qt5CTestMacros}")

# Qt5Qml is an optional dependency of QWebChannel headers. Make sure we find it
# in the test.
set(Qt5_MODULE_TEST_DEPENDS Qml)

test_module_includes(
    WebChannel QWebChannel
)