<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">TARGET_LINK_LIBRARIES( MyLibraryName ITKCommon )<br></blockquote><div><br></div><div>Why are you using this instead of </div>
<div> </div><div>TARGET_LINK_LIBRARIES( MyLibraryName ${ITK_LIBRARIES} )</div><div> </div><div>like you did with the executable?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, I noticed something unusual. When I was creating a new HelloWorld<br>
project (from examples\installation), I got an error on CMake GUI saying<br>
that ITK_DIR was not set. I had to manually set it to ITK root bin directory<br>
in order to get configure to work.<br></blockquote><div><br></div><div>If ITK_DIR is not set on your PATH, CMake will not find it and you will have to set it like you have seen.</div><div><br></div><div>David</div></div>