Warning, /plasma/powerdevil/kcmodule/common/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"libpowerdevilcommonconfig\")
0002 
0003 set( powerdevil_config_common_private_SRCS
0004     ${CMAKE_CURRENT_BINARY_DIR}/../../daemon/powerdevil_debug.cpp
0005     PowerButtonActionModel.cpp
0006     PowerProfileModel.cpp
0007     SleepModeModel.cpp
0008 )
0009 
0010 add_library(powerdevilconfigcommonprivate SHARED ${powerdevil_config_common_private_SRCS})
0011 
0012 generate_export_header(powerdevilconfigcommonprivate)
0013 
0014 # not exported, so just make the links public
0015 target_link_libraries(powerdevilconfigcommonprivate
0016     PUBLIC
0017         powerdevilcore
0018         KF6::I18n
0019         KF6::Service
0020 )
0021 target_include_directories(powerdevilconfigcommonprivate PUBLIC .)
0022 
0023 set_target_properties(powerdevilconfigcommonprivate PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
0024 
0025 install( TARGETS powerdevilconfigcommonprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )