From: Anthony Geay Date: Mon, 5 Jun 2023 06:01:19 +0000 (+0200) Subject: [KW103] : CMake logic error in order to be able to build MEDReader without Qt X-Git-Tag: V9_12_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=117e1a7919c86e60b74f9e16f276ea8f3c7b3819;p=modules%2Fparavis.git [KW103] : CMake logic error in order to be able to build MEDReader without Qt --- diff --git a/src/Plugins/MEDReader/plugin/ParaViewPlugin/CMakeLists.txt b/src/Plugins/MEDReader/plugin/ParaViewPlugin/CMakeLists.txt index 89fbd891..a035a3f5 100644 --- a/src/Plugins/MEDReader/plugin/ParaViewPlugin/CMakeLists.txt +++ b/src/Plugins/MEDReader/plugin/ParaViewPlugin/CMakeLists.txt @@ -24,6 +24,9 @@ set(sources) cmake_policy(SET CMP0071 OLD) # bug in ParaViewPlugin.cmake? if(PARAVIEW_USE_QT) + set(ui_resource_files + Resources/pqMEDReader.qrc) + set(ui_files MEDReaderVectorsWidget.ui MEDReaderTimeModeWidget.ui) @@ -113,7 +116,7 @@ paraview_add_plugin(MEDReader UI_INTERFACES ${interfaces} UI_FILES ${ui_files} SOURCES ${sources} - UI_RESOURCES Resources/pqMEDReader.qrc + UI_RESOURCES ${ui_resource_files} SERVER_MANAGER_XML Resources/MEDReaderServer.xml MODULES MEDReaderIO MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/../MEDReaderIO/vtk.module"