File: KF5WindowSystemConfig.cmake.in

package info (click to toggle)
kwindowsystem 5.116.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,624 kB
  • sloc: cpp: 21,787; makefile: 7; sh: 1
file content (30 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(Qt@QT_MAJOR_VERSION@Gui @REQUIRED_QT_VERSION@)

if(NOT @KWINDOWSYSTEM_NO_WIDGETS@)
    find_dependency(Qt@QT_MAJOR_VERSION@Widgets @REQUIRED_QT_VERSION@)
endif()

if(@X11_FOUND@)
    find_dependency(X11)
endif()

if(NOT @BUILD_SHARED_LIBS@)
    if(@WIN32@)
        find_dependency(Qt5WinExtras @REQUIRED_QT_VERSION@)
    endif()

    if(@X11_FOUND@)
        if (NOT TARGET Qt6::Gui)
            find_dependency(Qt5X11Extras @REQUIRED_QT_VERSION@)
        else()
            # qtx11extras_p.h is in Qt6Gui, which is already a dependency
        endif()
        find_dependency(XCB)
    endif()
endif()

include("${CMAKE_CURRENT_LIST_DIR}/KF5WindowSystemTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@