[prev in list] [next in list] [prev in thread] [next in thread]
List: vtk-developers
Subject: Re: [vtk-developers] vtkCommonCorePython static build failure
From: David Gobbi <david.gobbi () gmail ! com>
Date: 2012-06-29 14:27:27
Message-ID: CANwS1=HJgOAXi5z7Nakgwyzs-66WfSSi+L+5pzi2SZno4UkcUQ () mail ! gmail ! com
[Download RAW message or body]
On Fri, Jun 29, 2012 at 7:39 AM, Bill Hoffman <bill.hoffman@kitware.com> wr=
ote:
>
> A new feature was added to CMake to make this easier. =A0There is a prope=
rty
> that can be set that will add -fPIC or whatever flag the compiler uses for
> that to the static builds:
>
> set(CMAKE_POSITION_INDEPENDENT_CODE ON)
>
> It is in 2.8.9. =A0(which is in RC right now).
Awesome. It'll probably be good for the python wrappers to always be
built with PIC.
- David
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensour=
ce/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic