Re: [CMake] win32 wrongly set on linux when using subdirectories

2008-10-01 Thread Bill Hoffman
Stephen Sinclair wrote: Hi, This is strange. I'm using CMake on Fedora Core 9. I have a few .c files that should only be included when my project is compiled on Windows, but for some reason it was including them on Linux. I paired this down to a minimal example that goes wrong. It seems that

Re: [CMake] win32 wrongly set on linux when using subdirectories

2008-10-01 Thread Stephen Sinclair
On Wed, Oct 1, 2008 at 5:33 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Stephen Sinclair wrote: Hi, This is strange. I'm using CMake on Fedora Core 9. I have a few .c files that should only be included when my project is compiled on Windows, but for some reason it was including them on