[CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

Bill Hoffman bill.hoffman at kitware.com
Tue Nov 15 12:04:50 EST 2011


On 11/15/2011 11:52 AM, Michael Hertling wrote:

> Could you boild down this issue to a minimal and self-sufficient example
> - i.e. a project working with 2.6 (quite old) but failing with 2.8 - and
> post it here for further investigation?
>
There was a bug created for this, and the problem found.  The cmake code 
was marking the .h file as an object file.  Must have been a bug fix in 
CMake that allowed the .h to be treated as an object file.

See here for information:
http://public.kitware.com/Bug/view.php?id=12575


-Bill



More information about the CMake mailing list