Am Dienstag, 8. Dezember 2015 um 23:55:02, schrieb Kornel Benko <kor...@lyx.org>
> Am Dienstag, 8. Dezember 2015 um 23:10:21, schrieb Uwe Stöhr 
> <uwesto...@web.de>
> > Am 08.12.2015 um 08:51 schrieb Kornel Benko:
> > 
> > > I cannot test, since I don't have MSVC.
> > > In _my_ implementation of cmake modules (cmake 3.4) the MSVC_VERSION is 
> > > defined for MSVC.
> > 
> > Applying this patch breaks the compilation. I get the error
> > 
> > FATAL_ERROR "A C++11 compatible compiler is required."
> > 
> > So find_package(CXX11Compiler) fails.
> > 
> > regards Uwe
> 
> Can you set in development/cmake/modules/FindCXX11Compiler.cmake:93
> 
>       set(FLAG)
> 
> instead of
>       set(FLAG "")
> 
> ?
> 
> Sorry, if this does also not work
> 

Alternatively maybe it helps if set to "/Ze". According to 
https://msdn.microsoft.com/en-us/library/9s7c9wdw.aspx
it enables language extensions.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to