summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_target_typelibs_non_existing_libs/CMakeLists.txt
blob: 6be706ae5901b5e3435360243b0dddc0cd4cdc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

cmake_minimum_required(VERSION 3.16)
project(tst_typelibs)

find_package(Qt6 COMPONENTS AxContainer Gui Widgets CONFIG REQUIRED)

add_executable(tst_typelibs main.cpp)
target_link_libraries(tst_typelibs PRIVATE Qt6::AxContainer Qt6::Gui Qt6::Widgets)

qt6_target_typelibs(tst_typelibs LIBRARIES "ieframe.dll" "qt100notexistinglib.dll")