Warning, /plasma/kinfocenter/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-3-Clause 0002 # SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org> 0003 0004 add_definitions(-DTRANSLATION_DOMAIN=\"kinfocenter\") 0005 add_library(KInfoCenterInternal SHARED CommandOutputContext.cpp CommandOutputContext.h) 0006 target_link_libraries(KInfoCenterInternal Qt::Qml KF6::I18n KF6::CoreAddons) 0007 # Disable legacy stuff to get rid of some deprecation warnings. Notably duplicated QProcess::finished overloads. 0008 target_compile_definitions(KInfoCenterInternal PRIVATE -DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) 0009 target_include_directories(KInfoCenterInternal INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>") 0010 0011 # NB: this is a private library that may not be linked to. Symbol visibility is of no concern. Neither is versioning. 0012 set_target_properties(KInfoCenterInternal 0013 PROPERTIES 0014 C_VISIBILITY_PRESET default 0015 CXX_VISIBILITY_PRESET default 0016 VISIBILITY_INLINES_HIDDEN OFF) 0017 0018 install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kinfocenter/private) 0019 install(TARGETS KInfoCenterInternal ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)