Use cmake function instead of kcfgc
This commit is contained in:
@@ -423,7 +423,7 @@ if (TARGET KF6::Crash)
|
|||||||
target_link_libraries(neochat PUBLIC KF6::Crash)
|
target_link_libraries(neochat PUBLIC KF6::Crash)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
kconfig_add_kcfg_files(neochat GENERATE_MOC neochatconfig.kcfgc)
|
kconfig_target_kcfg_file(neochat FILE neochatconfig.kcfg CLASS_NAME NeoChatConfig MUTATORS GENERATE_PROPERTIES DEFAULT_VALUE_GETTERS PARENT_IN_CONSTRUCTOR SINGLETON GENERATE_MOC )
|
||||||
|
|
||||||
if(NEOCHAT_FLATPAK)
|
if(NEOCHAT_FLATPAK)
|
||||||
target_compile_definitions(neochat PUBLIC NEOCHAT_FLATPAK)
|
target_compile_definitions(neochat PUBLIC NEOCHAT_FLATPAK)
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
# SPDX-FileCopyrightText: 2020 Carl Schwan <carl@carlschwan.eu>
|
|
||||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
||||||
File=neochatconfig.kcfg
|
|
||||||
ClassName=NeoChatConfig
|
|
||||||
Mutators=true
|
|
||||||
DefaultValueGetters=true
|
|
||||||
GenerateProperties=true
|
|
||||||
ParentInConstructor=true
|
|
||||||
Singleton=true
|
|
||||||
Reference in New Issue
Block a user