summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 34b4c0289d3c4e8c3fdd392a2131d09df852b245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
################################################################################
# XDG Desktop Portal implementation for TDE                                    #
# Copyright (C) 2024 Mavridis Philippe <[email protected]>                   #
#                                                                              #
# Improvements and feedback are welcome!                                       #
# This software is licensed under the terms of the GNU GPL v3 license.         #
################################################################################

include_directories(
    ${CMAKE_CURRENT_BINARY_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${TDE_INCLUDE_DIR}
    ${TQT_INCLUDE_DIRS}
    ${DBUS_TQT_INCLUDE_DIRS}
    ${CMAKE_BINARY_DIR}/interfaces
)

link_directories(
    ${TQT_LIBRARY_DIRS}
    ${DBUS_TQT_LIBRARY_DIRS}
    ${CMAKE_BINARY_DIR}/interfaces
)

tde_add_executable(
    xdg-desktop-portal-tde AUTOMOC

    SOURCES
        main.cpp
        portal_service.cpp
        file_chooser_portal.cpp

    LINK
        tdecore-shared
        tdeio-shared
        ${DBUS_TQT_LIBRARIES}
        portalinterfaces-static

    DESTINATION ${LIBEXEC_INSTALL_DIR}
)

# kate: replace-tabs true; tab-width 4; indent-width 4;