[cmake-developers] Adding logic to CMake for -fPIE and -fPIC

Stephen Kelly steveire at gmail.com
Fri Jun 8 08:28:23 EDT 2012


Brad King wrote:

> On 06/08/2012 04:50 AM, Stephen Kelly wrote:
>> I still have an error with Watcom that I don't know how to fix, which I
>> think is the last error on this topic:
>> 
>> http://open.cdash.org/testDetails.php?test=148809149&build=2343558
>> 
>> My guess was that the CMAKE_CXX_COMPILE_OPTIONS_DLL flag is not being
>> populated or used, though I don't see why.
>> 
>> Can someone with access to that box debug it a bit please?
> 
> The compiler flags are fine.  This compiler just doesn't export
> inline class members from DLLs, it appears.  Use the patch below.

Done, thanks!




More information about the cmake-developers mailing list