Re: [CMake] CMake 2.8.4 -- FindITK.cmake fails to find ITK even when ITK_DIR is properly set.

2011-03-08 Thread Brad King
On 03/07/2011 03:59 PM, kent williams wrote: Looking at the difference between FindITK.cmake in 2.8.3 and 2.8.4 it looks like someone replaced trusting the ITK_DIR variable and using it directly if defined, with FIND_PACKAGE(ITK QUIET NO_MODULE NAMES ITK InsightToolkit CONFIGS

Re: [CMake] CMake 2.8.4 -- FindITK.cmake fails to find ITK even when ITK_DIR is properly set.

2011-03-08 Thread David Cole
Is it in a public repo? Can we just try to repro the complicated case here? On Tue, Mar 8, 2011 at 11:01 AM, kent williams nkwmailingli...@gmail.comwrote: Thanks for getting back to me on this. After my initial post I tried to come up with some 'cut-down' examples, and the simple cases work.

[CMake] CMake 2.8.4 -- FindITK.cmake fails to find ITK even when ITK_DIR is properly set.

2011-03-07 Thread kent williams
My first subject line was Who decided to break FindITK.cmake in 2.8.4? but that isn't probably very tactful. We have a whole bunch of projects that used to configure and build just fine with CMake 2.8.3. With 2.8.4 they fail. The error message we get is: CMake Error at