diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-11-15 18:08:02 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-11-15 18:08:02 +0000 |
commit | 14509a5fab6ac84d825b8fc834633d37c524232f (patch) | |
tree | 9168d24e86b6c9d16b02118691f023db6d86cda6 /modules/Qt4ConfigDependentSettings.cmake | |
parent | 408fad1ec96239cfe55cdd3755cf5dbc4fe8e772 (diff) | |
download | extra-cmake-modules-14509a5fab6ac84d825b8fc834633d37c524232f.tar.gz extra-cmake-modules-14509a5fab6ac84d825b8fc834633d37c524232f.tar.bz2 |
-more syncing with cmake: split some logic of FindQt4.cmake into separate files Qt4Macros.cmake and Qt4ConfigDependentSettings.cmake, which are automatically included by FindQt4.cmake.
-no functional changes
Alex
svn path=/trunk/KDE/kdelibs/; revision=1049722
Diffstat (limited to 'modules/Qt4ConfigDependentSettings.cmake')
-rw-r--r-- | modules/Qt4ConfigDependentSettings.cmake | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/Qt4ConfigDependentSettings.cmake b/modules/Qt4ConfigDependentSettings.cmake new file mode 100644 index 00000000..4aac513a --- /dev/null +++ b/modules/Qt4ConfigDependentSettings.cmake @@ -0,0 +1,32 @@ +# This file is included by FindQt4.cmake, don't include it directly. + +#============================================================================= +# Copyright 2005-2009 Kitware, Inc. +# +# Distributed under the OSI-approved BSD License (the "License"); +# see accompanying file Copyright.txt for details. +# +# This software is distributed WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the License for more information. +#============================================================================= +# (To distributed this file outside of CMake, substitute the full +# License text for the above reference.) + + +############################################### +# +# configuration/system dependent settings +# +############################################### + +# for unix add X11 stuff +IF(UNIX) + # on OS X X11 may not be required + IF (Q_WS_X11) + FIND_PACKAGE(X11 REQUIRED) + ENDIF (Q_WS_X11) + FIND_PACKAGE(Threads) + SET(QT_QTCORE_LIBRARY ${QT_QTCORE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT}) +ENDIF(UNIX) + |