freebsd-ports/science/paraview/files/patch-CMakeLists.txt
Eric Anholt 34e18e41a2 Update to 2.4.4, and drop maintainership since I'm not giving this port the
love it needs.

PR:		ports/101533
Submitted by:	thierry
2006-09-01 06:22:21 +00:00

17 lines
496 B
Text

--- ./CMakeLists.txt.orig Thu Jun 29 15:01:13 2006
+++ ./CMakeLists.txt Sun Aug 6 00:22:36 2006
@@ -318,9 +318,12 @@
SET(ICET_MPI_MAX_NUMPROCS "${VTK_MPI_MAX_NUMPROCS}" CACHE INTERNAL
"This is set from VTK_MPI_MAX_NUMPROCS.")
+IF(VTK_USE_X)
+ FIND_PACKAGE(X11)
+ SET(VTK_INCLUDE_DIR ${X11_INCLUDE_DIR})
+ENDIF(VTK_USE_X)
-
-SET(VTK_INCLUDE_DIR
+SET(VTK_INCLUDE_DIR ${VTK_INCLUDE_DIR}
${ParaView_SOURCE_DIR}/VTK
${ParaView_BINARY_DIR}/VTK
${ParaView_SOURCE_DIR}/VTK/Utilities