summaryrefslogtreecommitdiffstats
path: root/Modules/exportheader.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-08 00:08:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-08 00:08:10 (GMT)
commitdef0a54e0ae20d783aecf2761a4add5f40687cd6 (patch)
treebacca14f3bcc6f4933e57e94b766201f75202c75 /Modules/exportheader.cmake.in
parent30880707c094ac5c0edd85d0857afb6fbae55326 (diff)
downloadCMake-def0a54e0ae20d783aecf2761a4add5f40687cd6.zip
CMake-def0a54e0ae20d783aecf2761a4add5f40687cd6.tar.gz
CMake-def0a54e0ae20d783aecf2761a4add5f40687cd6.tar.bz2
Handle the case where the user changes the DEFINE_SYMBOL property.
This eases porting of KDE code.
Diffstat (limited to 'Modules/exportheader.cmake.in')
-rw-r--r--Modules/exportheader.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/exportheader.cmake.in b/Modules/exportheader.cmake.in
index 083e95c..62ed3ff 100644
--- a/Modules/exportheader.cmake.in
+++ b/Modules/exportheader.cmake.in
@@ -7,7 +7,7 @@
# define @NO_EXPORT_MACRO_NAME@
#else
# ifndef @EXPORT_MACRO_NAME@
-# ifdef @TARGET_LIBRARY@_EXPORTS
+# ifdef @EXPORT_IMPORT_CONDITION@
/* We are building this library */
# define @EXPORT_MACRO_NAME@ @DEFINE_EXPORT@
# else