diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-09-23 05:43:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-09-23 06:04:13 (GMT) |
commit | 80d5090a2c084c1b14a4cafce14d8ca9fec8a6c9 (patch) | |
tree | b220906e6fac0a903e976d33fc81a181abd9990e /Modules | |
parent | d2cf4e990c3c9abc3b2036dfb78771c4eda2abe8 (diff) | |
download | CMake-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.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/exportheader.cmake.in | 4 |
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 |