-# Copyright (C) 2010-2016 CEA/DEN, EDF R&D
+# Copyright (C) 2010-2022 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
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
-INCLUDE_DIRECTORIES(${PARAVIEW_INCLUDE_DIRS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
# Generate resources that will embedded
-SET(ui_resources
- "${CMAKE_CURRENT_BINARY_DIR}/LightPara_configuration.qrc")
-
-GENERATE_QT_RESOURCE_FROM_FILES(
- "${ui_resources}"
- "LightPara/Configuration"
- "${PROJECT_SOURCE_DIR}/gui/xml/ParaViewReaders.xml;${PROJECT_SOURCE_DIR}/gui/xml/ParaViewFilters.xml")
+SET(ui_resources LightPara_configuration.qrc)
QT_ADD_RESOURCES(rcs_sources
${ui_resources}
${pl_FORMS_HEADERS}
${rcs_sources})
-# RNV: ${vtkgl2ps_LIBRARIES} was added for Fedora 26 OS
-TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} pqApplicationComponents vtkRenderingFreeType vtkInteractionStyle ${vtkgl2ps_LIBRARIES})
+TARGET_LINK_LIBRARIES(paraLight ${QT_LIBRARIES} ParaView::pqApplicationComponents ParaView::pqPython)
#INSTALL(TARGET paraLight bin)
-