libmobileshell: Add licenses and prepare autotests cmake

This commit is contained in:
Devin Lin 2022-03-13 00:41:54 -05:00
parent cf7e48e65c
commit 7613787339
2 changed files with 12 additions and 8 deletions

View file

@ -1,8 +0,0 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core "@QT_MIN_VERSION@")
find_dependency(Qt5Gui "@QT_MIN_VERSION@")
find_dependency(Qt5Quick "@QT_MIN_VERSION@")
include("${CMAKE_CURRENT_LIST_DIR}/LibMobileShellLibraryTargets.cmake")

View file

@ -1 +1,13 @@
# SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later
include(ECMAddTests)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test)
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../src")
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../src")
#ecm_add_tests(
#LINK_LIBRARIES KF5::KWeatherCore Qt${QT_MAJOR_VERSION}::Test
#)