summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-09-20 13:11:21 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-09-20 13:11:21 (GMT)
commiteae77fd08783e9abb251b977536231e0246b0f09 (patch)
tree7e2396215d090c155d6b3a889cae73311332e7f8 /Modules
parentee858f555cfdeb6573dcb42ca6c6e14387bb1887 (diff)
downloadCMake-eae77fd08783e9abb251b977536231e0246b0f09.zip
CMake-eae77fd08783e9abb251b977536231e0246b0f09.tar.gz
CMake-eae77fd08783e9abb251b977536231e0246b0f09.tar.bz2
removed some VTK stuff
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindVTK.cmake3
-rw-r--r--Modules/UseVTKIncludes.cmake25
-rw-r--r--Modules/UseVTKLibraries.cmake25
3 files changed, 3 insertions, 50 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
index a026f63..bdba013 100644
--- a/Modules/FindVTK.cmake
+++ b/Modules/FindVTK.cmake
@@ -22,6 +22,7 @@ FIND_PATH(VTK_SOURCE_PATH Common/vtkObject.h
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereSource4]
../VTK
VTK
+ $ENV{HOME}/VTK
)
#
@@ -41,6 +42,8 @@ IF (VTK_SOURCE_PATH)
../vtkbin
VTKBIN
vtkbin
+ $ENV{HOME}/VTKBIN
+ $ENV{HOME}/vtkbin
)
ELSE (VTK_SOURCE_PATH)
# look for the vtk header files in installed places
diff --git a/Modules/UseVTKIncludes.cmake b/Modules/UseVTKIncludes.cmake
deleted file mode 100644
index 82250ce..0000000
--- a/Modules/UseVTKIncludes.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# This module add the VTK include paths to a project
-# It should be included after the FindVTK module
-#
-IF (USE_INSTALLED_VTK)
- IF (VTK_INSTALL_PATH)
- INCLUDE_DIRECTORIES ( ${VTK_INSTALL_PATH}/include ${VTK_INSTALL_PATH}/include/vtk )
- ENDIF (VTK_INSTALL_PATH)
-ELSE (USE_INSTALLED_VTK)
- IF (VTK_SOURCE_PATH)
- INCLUDE_DIRECTORIES(
- ${VTK_SOURCE_PATH}/Common
- ${VTK_SOURCE_PATH}/Filtering
- ${VTK_SOURCE_PATH}/IO
- ${VTK_SOURCE_PATH}/Graphics
- ${VTK_SOURCE_PATH}/Imaging
- ${VTK_SOURCE_PATH}/Rendering
- ${VTK_SOURCE_PATH}/Hybrid
- ${VTK_SOURCE_PATH}/Patented
- ${VTK_SOURCE_PATH}/Parallel)
- ENDIF (VTK_SOURCE_PATH)
- IF (VTK_BIN_PATH)
- INCLUDE_DIRECTORIES( ${VTK_BIN_PATH) )
- ENDIF (VTK_BIN_PATH)
-ENDIF (USE_INSTALLED_VTK)
diff --git a/Modules/UseVTKLibraries.cmake b/Modules/UseVTKLibraries.cmake
deleted file mode 100644
index 89f801f..0000000
--- a/Modules/UseVTKLibraries.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# This module add the VTK include paths to a project
-# It should be included after the FindVTK module
-#
-IF (USE_INSTALLED_VTK)
- IF (VTK_INSTALL_PATH)
- LINK_DIRECTORIES ( ${VTK_INSTALL_PATH}/lib )
- ENDIF (VTK_INSTALL_PATH)
-ELSE (USE_INSTALLED_VTK)
- IF (VTK_SOURCE_PATH)
- INCLUDE_DIRECTORIES(
- ${VTK_SOURCE_PATH}/Common
- ${VTK_SOURCE_PATH}/Filtering
- ${VTK_SOURCE_PATH}/IO
- ${VTK_SOURCE_PATH}/Graphics
- ${VTK_SOURCE_PATH}/Imaging
- ${VTK_SOURCE_PATH}/Rendering
- ${VTK_SOURCE_PATH}/Hybrid
- ${VTK_SOURCE_PATH}/Patented
- ${VTK_SOURCE_PATH}/Parallel)
- ENDIF (VTK_SOURCE_PATH)
- IF (VTK_BIN_PATH)
- INCLUDE_DIRECTORIES( ${VTK_BIN_PATH) )
- ENDIF (VTK_BIN_PATH)
-ENDIF (USE_INSTALLED_VTK)