Ah, got it. Thanks.<br><br>David<br>
<br><br><div class="gmail_quote">On Sat, Apr 11, 2009 at 10:16 AM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> Ok, I set VTK_DIR in my environment:<br>
><br>
> [doriad@davedesktop LandmarkTransform]$ echo $VTK_DIR<br>
> /home/doriad/bin/ParaView3/VTK<br>
><br>
> and then just used this in CMakeLists.txt<br>
> INCLUDE(${VTK_DIR}/UseVTK.cmake)<br>
><br>
> and it still gives me the same<br>
><br>
> ------------<br>
> CMake Error at CMakeLists.txt:43 (INCLUDE):<br>
> include could not find load file:<br>
><br>
> /UseVTK.cmake<br>
> ------------<br>
><br>
<br>
</div>You want to get rid of the INCLUDE(${VTK_DIR}/UseVTK.cmake) and put it<br>
back to the original.<br>
<div class="im"><br>
FIND_PACKAGE(VTK REQUIRED)<br>
INCLUDE(${VTK_USE_FILE})<br>
<br>
</div>The finder for VTK will look for VTK_DIR in the environment and use<br>
that if found.<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br>