[CMake] CMake 2.8.2 going crazy on my 'Superbuild Project'

2010-08-24 Thread kent williams
I have a CMakeLists.txt file that builds a bunch of prerequisite library, and then my application I'm working on. This is done all with External_Project macros. Once everything I need is built, I build my code as an external project: set(proj BRAINSTracerQT) ExternalProject_Add(${proj} URL

Re: [CMake] CMake 2.8.2 going crazy on my 'Superbuild Project'

2010-08-24 Thread David Cole
What is in the add_subdirectory call on line 139 of CMakeLists.txt? CMakeLists.txt:139 (add_subdirectory): On Tue, Aug 24, 2010 at 3:57 PM, kent williams nkwmailingli...@gmail.comwrote: I have a CMakeLists.txt file that builds a bunch of prerequisite library, and then my application I'm

Re: [CMake] CMake 2.8.2 going crazy on my 'Superbuild Project'

2010-08-24 Thread kent williams
Problem solved -- in what may have been an Emacs mishap, the entire CMakeLists.txt got included twice. The post-2.4 CMake pickiness caught the problem, but not knowing that I'd somehow duplicated the entire contents of the file, I was faced with utterly baffling error messages. I even thought