summaryrefslogtreecommitdiffstats
path: root/Modules/exportheader.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-23 21:26:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-23 21:26:43 (GMT)
commite0cc024dc90c74ff504995ce9ccd3671f9bf3db2 (patch)
tree6f35c2229007fb1f19941e2d2aeaa8ab50c0e64c /Modules/exportheader.cmake.in
parent1b031d1a3f236f7c2c301e042bdc22bdfc4064c0 (diff)
downloadCMake-e0cc024dc90c74ff504995ce9ccd3671f9bf3db2.zip
CMake-e0cc024dc90c74ff504995ce9ccd3671f9bf3db2.tar.gz
CMake-e0cc024dc90c74ff504995ce9ccd3671f9bf3db2.tar.bz2
Add missing NO_EXPORT macro variant.
Diffstat (limited to 'Modules/exportheader.cmake.in')
-rw-r--r--Modules/exportheader.cmake.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/exportheader.cmake.in b/Modules/exportheader.cmake.in
index 83a9335..131d3a7 100644
--- a/Modules/exportheader.cmake.in
+++ b/Modules/exportheader.cmake.in
@@ -27,4 +27,9 @@
# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
#endif
-#endif // @INCLUDE_GUARD_NAME@ \ No newline at end of file
+#cmakedefine01 DEFINE_NO_DEPRECATED
+#if DEFINE_NO_DEPRECATED
+# define @NO_DEPRECATED_MACRO_NAME@
+#endif
+
+#endif // @INCLUDE_GUARD_NAME@