diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-11-17 20:20:58 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-11-17 20:20:58 (GMT) |
commit | 12daac5714c6b7709e15f7828f58c2590fae66b7 (patch) | |
tree | 71c10a40ffef614aafd47ee8af81c616ecd211e0 /Modules | |
parent | f756b73ac529b74e9893290d25048969c57d96e1 (diff) | |
download | CMake-12daac5714c6b7709e15f7828f58c2590fae66b7.zip CMake-12daac5714c6b7709e15f7828f58c2590fae66b7.tar.gz CMake-12daac5714c6b7709e15f7828f58c2590fae66b7.tar.bz2 |
only add -DQT_DLL on Windows, ok by Clinton
Alex
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Qt4ConfigDependentSettings.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Qt4ConfigDependentSettings.cmake b/Modules/Qt4ConfigDependentSettings.cmake index 2162d56..f0b2790 100644 --- a/Modules/Qt4ConfigDependentSettings.cmake +++ b/Modules/Qt4ConfigDependentSettings.cmake @@ -36,11 +36,11 @@ SET(QT_QTHELP_LIB_DEPENDENCIES ${QT_QTCLUCENE_LIBRARY}) # build using shared Qt needs -DQT_DLL -IF(NOT QT_CONFIG MATCHES "static") +IF(WIN32 AND NOT QT_CONFIG MATCHES "static") # warning currently only qconfig.pri on Windows potentially contains "static" # so QT_DLL might not get defined properly on other platforms. SET(QT_DEFINITIONS ${QT_DEFINITIONS} -DQT_DLL) -ENDIF(NOT QT_CONFIG MATCHES "static") +ENDIF(WIN32 AND NOT QT_CONFIG MATCHES "static") # QtOpenGL dependencies |