mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
26 lines
1.0 KiB
CMake
26 lines
1.0 KiB
CMake
# Aseprite Desktop Integration Module
|
|
# Copyright (C) 2016 Gabriel Rauter
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
# published by the Free Software Foundation.
|
|
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
set(QT_MIN_VERSION "5.2.0")
|
|
project(asepritethumbnail)
|
|
find_package(ECM REQUIRED NO_MODULE)
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
|
set(KDE_INSTALL_DIRS_NO_DEPRECATED, TRUE)
|
|
include(FeatureSummary)
|
|
include(WriteBasicConfigVersionFile)
|
|
include(KDEInstallDirs)
|
|
include(KDECMakeSettings)
|
|
include(KDECompilerSettings)
|
|
find_package(KF5 REQUIRED COMPONENTS KIO)
|
|
add_definitions(${QT_DEFINITIONS} -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
|
|
set(KDE_INSTALL_USE_QT_SYS_PATHS)
|
|
add_library(asepritethumbnail MODULE aseprite_thumb_creator.cpp)
|
|
target_link_libraries(asepritethumbnail KF5::KIOWidgets)
|
|
install(TARGETS asepritethumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
install(FILES asepritethumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|