aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch')
-rw-r--r--sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch b/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch
new file mode 100644
index 000000000..352b57317
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-3.6.1-VTK-cg-path.patch
@@ -0,0 +1,34 @@
+--- VTK/CMake/FindCg.cmake.orig 2005-10-05 04:25:51.000000000 +1300
++++ VTK/CMake/FindCg.cmake 2009-12-15 21:54:09.000000000 +1300
+@@ -82,6 +82,7 @@
+ FIND_PROGRAM( CG_COMPILER cgc
+ /usr/bin
+ /usr/local/bin
++ /opt/nvidia-cg-toolkit/bin
+ DOC "The Cg Compiler"
+ )
+ GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH)
+@@ -89,6 +90,7 @@
+ FIND_PATH( CG_INCLUDE_PATH Cg/cg.h
+ /usr/include
+ /usr/local/include
++ /opt/nvidia-cg-toolkit/include
+ ${CG_COMPILER_SUPER_DIR}/include
+ DOC "The directory where Cg/cg.h resides"
+ )
+@@ -98,6 +100,7 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"
+@@ -108,6 +111,7 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"