summaryrefstree
path: root/usr/lib/cmake/Qt5Widgets/Qt5WidgetsConfigExtras.cmake
blob: f773a6bc58756e59ac4243f7680bfff030208085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

if (NOT TARGET Qt5::uic)
    add_executable(Qt5::uic IMPORTED)

    set(imported_location "${_qt5Widgets_install_prefix}/bin/uic")
    _qt5_Widgets_check_file_exists(${imported_location})

    set_target_properties(Qt5::uic PROPERTIES
        IMPORTED_LOCATION ${imported_location}
    )
endif()

set(Qt5Widgets_UIC_EXECUTABLE Qt5::uic)