(maint) Disable precompiled headers with MinGW

MinGW crashes on sufficiently large precompiled headers. We ran into this
after enabling them with Cotire. Disable precompiled headers when
compiling with MinGW.
Yeah, that's why I pulled it.

On Wed, Oct 8, 2014 at 12:13 PM, Peter Huene <notifications@github.com>
wrote:

> In exe/CMakeLists.txt:
>
> > @@ -17,7 +17,7 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
> >
> >  add_executable(cfacter ${CFACTER_SOURCES})
> >  target_link_libraries(cfacter libfacter ${Boost_LIBRARIES})
> > -set_target_properties(cfacter PROPERTIES COTIRE_UNITY_LINK_LIBRARIES_INIT "COPY_UNITY")
> > +set_target_properties(cfacter PROPERTIES COTIRE_UNITY_LINK_LIBRARIES_INIT "COPY_UNITY" COTIRE_ENABLE_PRECOMPILED_HEADER "${PRECOMPILED_HEADERs}")
>
> Casing on variable?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/puppetlabs/cfacter/pull/169/files#r18605409>.
>