summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-09-23 05:43:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-09-23 06:04:13 (GMT)
commit80d5090a2c084c1b14a4cafce14d8ca9fec8a6c9 (patch)
treeb220906e6fac0a903e976d33fc81a181abd9990e
parentd2cf4e990c3c9abc3b2036dfb78771c4eda2abe8 (diff)
downloadCMake-80d5090a2c084c1b14a4cafce14d8ca9fec8a6c9.zip
CMake-80d5090a2c084c1b14a4cafce14d8ca9fec8a6c9.tar.gz
CMake-80d5090a2c084c1b14a4cafce14d8ca9fec8a6c9.tar.bz2
GEH: Use the macro for the deprecation attribute after definiting it.
This way, it is more-easily overridden.
-rw-r--r--Modules/exportheader.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/exportheader.cmake.in b/Modules/exportheader.cmake.in
index 80a879d..4fe589d 100644
--- a/Modules/exportheader.cmake.in
+++ b/Modules/exportheader.cmake.in
@@ -23,8 +23,8 @@
#ifndef @DEPRECATED_MACRO_NAME@
# define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
+# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
+# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif
#cmakedefine01 DEFINE_NO_DEPRECATED