Re: [CMake] Building ITK with VTK 5.6

2010-07-30 Thread Brian Davis
I would recommend using EXTERNALPROJECT_ADD. http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:ExternalProject. Though I am not building in ITK as of yet I am using VTKEdge which depends on VTK --snip vtkedge_config.cmake -- macro( vtkedge_config ) set( VTK_EDGE_PACKAGE VTKEdge-5-4-0

[CMake] Building ITK with VTK 5.6

2010-07-22 Thread Mathieu Malaterre
Hi there, I am trying to build ITK from a toplevel directory, my application is setup simply like this: $ cat CMakeLists.txt project(MySuperApp) find_package(VTK REQUIRED) message(${VTK_VERSION}) add_subdirectory(ITK) # contains the ITK source Since cmake 2.8 find_package now sets VTK_VERSION

Re: [CMake] Building ITK with VTK 5.6

2010-07-22 Thread Brad King
On 07/22/2010 09:43 AM, Mathieu Malaterre wrote: Hi there, I am trying to build ITK from a toplevel directory, my application is setup simply like this: $ cat CMakeLists.txt project(MySuperApp) find_package(VTK REQUIRED) message(${VTK_VERSION}) add_subdirectory(ITK) # contains the