Salome HOME
[salome test] Update list of tests
[modules/paravis.git] / src / Plugins / ArrayRenamer / CMakeLists.txt
index c70f45ad7699c2ba390250fabd8ed40828297029..f5be88a877d84667d0fca93f8c98b6fa5a45be82 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2015  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2016  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -22,13 +22,14 @@ PROJECT(ArrayRenamer)
 
 cmake_minimum_required(VERSION 2.8)
 
+INCLUDE(UseQtExt)
 FIND_PACKAGE(ParaView REQUIRED)
 INCLUDE(${PARAVIEW_USE_FILE})
 
 SET (outifaces)        
 SET (outsrcs)
 
-QT4_WRAP_CPP(moc_srcs pqArraysEditorPropertyWidget.h pqEditComponents.h)
+QT_WRAP_MOC(moc_srcs pqArraysEditorPropertyWidget.h pqEditComponents.h)
 
   ADD_PARAVIEW_PROPERTY_GROUP_WIDGET(outifaces outsrcs
     TYPE "custom_arrays_editor"