Merge pull request #2236 from demmm/calamares

[partition] make the tests also build with Qt6
This commit is contained in:
Adriaan de Groot 2023-11-16 22:51:13 +01:00 committed by GitHub
commit 63211c86de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,12 @@
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: BSD-2-Clause
#
find_package(Qt5 COMPONENTS Gui REQUIRED)
find_package(${qtname} COMPONENTS Gui REQUIRED)
set(PartitionModule_SOURCE_DIR ..)
include_directories(
${Qt5Gui_INCLUDE_DIRS}
${${qtname}Gui_INCLUDE_DIRS}
${PartitionModule_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}