mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
17 lines
469 B
CMake
17 lines
469 B
CMake
#--------------------------------------------------
|
|
# Find and Use ParaView
|
|
#--------------------------------------------------
|
|
if(NOT ParaView_SOURCE_DIR)
|
|
find_package(ParaView)
|
|
include("${PARAVIEW_USE_FILE}")
|
|
include (ParaViewPlugins)
|
|
else()
|
|
# we're building from within ParaView Source.
|
|
endif()
|
|
|
|
include_directories(${VTK_INCLUDE_DIRS})
|
|
add_paraview_plugin(ForceTime "1.0"
|
|
SERVER_MANAGER_SOURCES vtkForceTime.cxx
|
|
SERVER_MANAGER_XML ForceTimeServer.xml
|
|
)
|