Salome HOME
Split PyConsole in order to be used easily outside GUI of SALOME.
[modules/gui.git] / adm_local / cmake_files / UseQt4Ext.cmake
index 798357783445213e1ffdc5622c7befe4895f868a..e57f46f0bc3e1a861ce0b6e876be8a351f8bdf2a 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -17,6 +17,8 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+INCLUDE(${QT_USE_FILE})
+
 INSTALL(CODE "MACRO(QT4_COMPILE_TS_ON_INSTALL MYLRELEASE MYTSFILE MYFULLDIR MYOUTQMFILE)
   FILE(MAKE_DIRECTORY \${MYFULLDIR})
   MESSAGE(STATUS \"Compiling \${MYTSFILE}\")