summaryrefslogtreecommitdiffstats
path: root/src/plugins/hardwareintegration/CMakeLists.txt
blob: 472a4f9092892f4102b5d26ef4c08583789f2f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

# Generated from hardwareintegration.pro.

# When doing unity build, we get symbol collisions with macros defined
# in X11.h, and Xlib.h
set(CMAKE_UNITY_BUILD OFF)

if(TARGET Qt::WaylandClient)
    add_subdirectory(client)
endif()
if(TARGET Qt::WaylandCompositor)
    add_subdirectory(compositor)
endif()

set(CMAKE_UNITY_BUILD ${QT_UNITY_BUILD})