summaryrefslogtreecommitdiffstats
path: root/Modules/exportheader.cmake.in
diff options
context:
space:
mode:
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 62ed3ff..83a9335 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