Not sure about the X11 part but you would definitely want to set VTK_USE_CARBON=OFF and VTK_USE_COCOA=ON in the CMakeCache for VTK, how ever you need to do this with ExternalProject_add(). I would think that it should "just work".

___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       [email protected]
BlueQuartz Software               Dayton, Ohio


On Apr 13, 2010, at 10:19 AM, kent williams wrote:

I've descended into a confusing morass of complicated CMake macros,
and I need help getting out!

The situation is this:  I didn't have much trouble building VTK with
QT as long as I stuck with Carbon.  Now I'm running into some serious
problems (phantom dependencies on X11 libraries, for starters) when I
try to use QT/Cocoa -- which is necessary, according to my boss, to
build on OS X 10.6.

So does anyone have a successful example of building VTK against QT
using ExternalProject?
2

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to