On 13. Apr, 2010, at 16:19 , 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?


I usually first build the external project "stand-alone" to figure out all the 
parameters I have to pass in the CMAKE_ARGS argument. I find this to be much 
less confusing.

I just built VTK 5.4.2 on OS X 10.6.2 with qt-cocoa 4.6.1. Although CMake looks 
for X11, none of the libraries and executables links against it.

HTH

Michael

_______________________________________________
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