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
Utilities
KCalc
Commits
3d4e60d6
Commit
3d4e60d6
authored
Mar 28, 2021
by
Nicolas Fella
Browse files
Remove kdeinit leftover from variable name
parent
0817b80a
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3d4e60d6
...
...
@@ -73,7 +73,7 @@ configure_file(config-kcalc.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcalc.h )
add_subdirectory
(
knumber
)
set
(
kcalc_
KDEINIT_
SRCS
set
(
kcalc_SRCS
kcalc.cpp
bitbutton.cpp
kcalc_bitset.cpp
...
...
@@ -85,18 +85,18 @@ set(kcalc_KDEINIT_SRCS
kcalc_statusbar.cpp
stats.cpp
)
ki18n_wrap_ui
(
kcalc_
KDEINIT_
SRCS
ki18n_wrap_ui
(
kcalc_SRCS
kcalc.ui
constants.ui
colors.ui
fonts.ui
general.ui
)
kconfig_add_kcfg_files
(
kcalc_
KDEINIT_
SRCS kcalc_settings.kcfgc
)
kconfig_add_kcfg_files
(
kcalc_SRCS kcalc_settings.kcfgc
)
# Sets the icon on Windows and OSX
file
(
GLOB ICONS_SRCS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/icons/*.png"
)
ecm_add_app_icon
(
kcalc_
KDEINIT_
SRCS ICONS
${
ICONS_SRCS
}
)
ecm_add_app_icon
(
kcalc_SRCS ICONS
${
ICONS_SRCS
}
)
# Conditionally install icons for Linux as they may not be provided by the user theme
option
(
INSTALL_ICONS
"Install icons"
OFF
)
...
...
@@ -105,7 +105,7 @@ if (INSTALL_ICONS)
ecm_install_icons
(
ICONS
${
ICONS_SRCS
}
DESTINATION
${
KDE_INSTALL_ICONDIR
}
)
endif
()
add_executable
(
kcalc
${
kcalc_
KDEINIT_
SRCS
}
)
add_executable
(
kcalc
${
kcalc_SRCS
}
)
target_link_libraries
(
kcalc
Qt5::Core
...
...
Nicolas Fella
@nicolasfella
mentioned in merge request
!18 (merged)
·
Mar 28, 2021
mentioned in merge request
!18 (merged)
mentioned in merge request !18
Toggle commit list
Write
Preview
Markdown
is supported
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