Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
c31b08cf
Commit
c31b08cf
authored
Sep 09, 2020
by
Alexander Lohnau
💬
Committed by
Elvis Angelaccio
Sep 10, 2020
Browse files
Do not build KCMs on windows
parent
98acc7f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
c31b08cf
...
...
@@ -376,20 +376,30 @@ kconfig_add_kcfg_files(kcm_dolphinservices_PART_SRCS
kconfig_add_kcfg_files
(
kcm_dolphingeneral_PART_SRCS
settings/dolphin_generalsettings.kcfgc
)
add_library
(
kcm_dolphinviewmodes MODULE
${
kcm_dolphinviewmodes_PART_SRCS
}
)
add_library
(
kcm_dolphinnavigation MODULE
${
kcm_dolphinnavigation_PART_SRCS
}
)
add_library
(
kcm_dolphinservices MODULE
${
kcm_dolphinservices_PART_SRCS
}
)
add_library
(
kcm_dolphingeneral MODULE
${
kcm_dolphingeneral_PART_SRCS
}
)
target_link_libraries
(
kcm_dolphinviewmodes dolphinprivate
)
target_link_libraries
(
kcm_dolphinnavigation dolphinprivate
)
target_link_libraries
(
kcm_dolphinservices dolphinprivate
)
target_link_libraries
(
kcm_dolphingeneral dolphinprivate
)
install
(
TARGETS kcm_dolphinviewmodes DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphinnavigation DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphinservices DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphingeneral DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
if
(
NOT WIN32
)
# The settings are still accessible from the hamburger menu
add_library
(
kcm_dolphinviewmodes MODULE
${
kcm_dolphinviewmodes_PART_SRCS
}
)
add_library
(
kcm_dolphinnavigation MODULE
${
kcm_dolphinnavigation_PART_SRCS
}
)
add_library
(
kcm_dolphinservices MODULE
${
kcm_dolphinservices_PART_SRCS
}
)
add_library
(
kcm_dolphingeneral MODULE
${
kcm_dolphingeneral_PART_SRCS
}
)
target_link_libraries
(
kcm_dolphinviewmodes dolphinprivate
)
target_link_libraries
(
kcm_dolphinnavigation dolphinprivate
)
target_link_libraries
(
kcm_dolphinservices dolphinprivate
)
target_link_libraries
(
kcm_dolphingeneral dolphinprivate
)
install
(
FILES org.kde.dolphin.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
install
(
FILES settings/kcm/kcmdolphinviewmodes.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphinnavigation.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphinservices.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphingeneral.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
TARGETS kcm_dolphinviewmodes DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphinnavigation DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphinservices DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
TARGETS kcm_dolphingeneral DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
endif
()
if
(
NOT WIN32
)
add_subdirectory
(
settings/services/servicemenuinstaller
)
...
...
@@ -413,11 +423,6 @@ install( FILES settings/dolphin_directoryviewpropertysettings.kcfg
settings/dolphin_detailsmodesettings.kcfg
settings/dolphin_versioncontrolsettings.kcfg
DESTINATION
${
KDE_INSTALL_KCFGDIR
}
)
install
(
FILES org.kde.dolphin.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
install
(
FILES settings/kcm/kcmdolphinviewmodes.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphinnavigation.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphinservices.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
FILES settings/kcm/kcmdolphingeneral.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
if
(
BUILD_TESTING
)
find_package
(
Qt5Test
${
QT_MIN_VERSION
}
CONFIG REQUIRED
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment