mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
16 lines
405 B
CMake
16 lines
405 B
CMake
#--------------------------------------------------
|
|
# Find and Use ParaView
|
|
#--------------------------------------------------
|
|
IF (ParaView_SOURCE_DIR)
|
|
INCLUDE_DIRECTORIES(
|
|
${VTK_INCLUDE_DIRS}
|
|
)
|
|
ELSE ()
|
|
FIND_PACKAGE(ParaView REQUIRED)
|
|
INCLUDE(${PARAVIEW_USE_FILE})
|
|
ENDIF ()
|
|
|
|
ADD_PARAVIEW_PLUGIN(AcceleratedAlgorithms "1.0"
|
|
SERVER_MANAGER_XML AcceleratedAlgorithms.xml
|
|
REQUIRED_ON_SERVER)
|