causes needed include paths of 3rd party packages used by VTK not to be included by the use of VTK_USE_FILE. The patch reverts this commit in VTK's git repository: http://vtk.org/gitweb?p=VTK.git;a=commit;h=514405 A bug report has been submitted here: http://vtk.org/Bug/view.php?id=12597
18 lines
503 B
CMake
18 lines
503 B
CMake
--- vtkGenerateVTKConfig.cmake.orig 2011-09-15 09:24:24.000000000 +0200
|
|
+++ vtkGenerateVTKConfig.cmake 2011-09-15 09:27:25.000000000 +0200
|
|
@@ -84,6 +84,7 @@
|
|
SET(VTK_INCLUDE_DIRS_CONFIG
|
|
${VTK_INCLUDE_DIRS_BUILD_TREE}
|
|
${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
|
+ ${VTK_INCLUDE_DIRS_SYSTEM}
|
|
)
|
|
|
|
# Executable locations.
|
|
@@ -188,6 +189,7 @@
|
|
# Include directories.
|
|
SET(VTK_INCLUDE_DIRS_CONFIG
|
|
${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_INCLUDE_DIR}
|
|
+ ${VTK_INCLUDE_DIRS_SYSTEM}
|
|
)
|
|
|
|
# Link directories.
|