aboutsummaryrefslogtreecommitdiff
path: root/modules/Qt4ConfigDependentSettings.cmake
blob: 4aac513ae1b8d511c45b03b02ce6978fc511fc94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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)