Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
5edea9e0
Commit
5edea9e0
authored
Sep 23, 2013
by
Stephen Kelly
Browse files
Use the generate_export_header mechanism to disable deprecation warnings.
parent
0e3c96e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5edea9e0
...
...
@@ -15,8 +15,15 @@ option(KALARM_USE_KRESOURCES "Build to use KResources" OFF)
set
(
USE_KRESOURCES false
)
if
(
KALARM_USE_KRESOURCES AND NOT KDEPIM_NO_KRESOURCES
)
set
(
USE_KRESOURCES true
)
add_definitions
(
-DWANT_DEPRECATED_KCAL_API
)
add_definitions
(
-DWANT_DEPRECATED_KRESOURCE_API
)
add_definitions
(
-DKRESOURCES_DEPRECATED=
-DKCAL_DEPRECATED=
)
# This one won't be needed when CMake 2.8.13 is depended on.
add_definitions
(
-DKRESOURCES_DEPRECATED_EXPORT=KRESOURCES_EXPORT
-DKCAL_DEPRECATED_EXPORT=KCAL_EXPORT
)
endif
()
########### next target ###############
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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