summaryrefslogtreecommitdiff
path: root/Modules/exportheader.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-23 23:19:31 +0200
committerStephen Kelly <steveire@gmail.com>2011-08-23 23:21:29 +0200
commit1b031d1a3f236f7c2c301e042bdc22bdfc4064c0 (patch)
tree153b8c3cd55c10a4da6b4076e621fbb6f09d664a /Modules/exportheader.cmake.in
parent03d60c7d818584c5c44d2992b6cba1e202cdd498 (diff)
downloadcmake-1b031d1a3f236f7c2c301e042bdc22bdfc4064c0.tar.gz
More consistency in the macro options.
Diffstat (limited to 'Modules/exportheader.cmake.in')
-rw-r--r--Modules/exportheader.cmake.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/exportheader.cmake.in b/Modules/exportheader.cmake.in
index 62ed3ff926..83a93354e9 100644
--- a/Modules/exportheader.cmake.in
+++ b/Modules/exportheader.cmake.in
@@ -21,10 +21,10 @@
# endif
#endif
-#ifndef @DEPRECATED_NAME@
-# define @DEPRECATED_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
+#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@
#endif
#endif // @INCLUDE_GUARD_NAME@ \ No newline at end of file