]> SALOME platform Git repositories - modules/gui.git/blob - adm_local/cmake_files/deprecated/FindQT4.cmake
Salome HOME
10419225b63e574ab1e839df433825b855bc6f4d
[modules/gui.git] / adm_local / cmake_files / deprecated / FindQT4.cmake
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 INCLUDE(FindQt4)
21 INCLUDE(UseQt4)
22 SET(QT_INCLUDE_DIRS ${QT_INCLUDES})
23 SET(DIRS)
24 FOREACH(D ${QT_INCLUDES})
25 SET(DIRS ${DIRS} -I${D})
26 ENDFOREACH(D ${QT_INCLUDES})
27 SET(QT_INCLUDES ${DIRS}) # to be removed
28 SET(QT_INCLUDES ${QT_INCLUDES} -DQT_THREAD_SUPPORT) # to be removed
29 SET(QT_DEFINITIONS -DQT_THREAD_SUPPORT)
30 SET(QT_MT_LIBS ${QT_LIBRARIES} ${QT_QTXML_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${QT_QTWEBKIT_LIBRARY})
31 SET(QT_LIBS ${QT_MT_LIBS})
32 SET(qt4_ldflags ${QT_MT_LIBS})
33 SET(QT_LIBS ${QT_MT_LIBS})
34
35 FIND_PROGRAM(QT_LRELEASE_EXECUTABLE lrelease)