[vtk-developers] VTK Examples don't build properly on Mac, CMAKE_OSX_ARCHITECTURES issue
Sean McBride
sean at rogue-research.com
Tue Dec 15 13:37:56 EST 2009
On 12/15/09 1:30 PM, David Cole said:
>Add that variable and any others like it that may need to be passed down to
>the VTK/Examples/CMakeLists.txt file around line 90 or so. You'll see what I
>mean when you get there......
Ah, yes, I see. I added:
-DCMAKE_OSX_ARCHITECTURES:STRING=${CMAKE_OSX_ARCHITECTURES}
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${CMAKE_OSX_DEPLOYMENT_TARGET}
-DCMAKE_OSX_SYSROOT:STRING=${CMAKE_OSX_SYSROOT}
That fixed it. Shall I commit?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list