Am Dienstag, 8. Dezember 2015 um 02:20:25, schrieb Kornel Benko <kor...@lyx.org> > Am Dienstag, 8. Dezember 2015 um 02:09:55, schrieb Uwe Stöhr > <uwesto...@web.de> > > Am 08.12.2015 um 02:07 schrieb Uwe Stöhr: > > > > > I applied Kornel's patch for FindCXX11Compiler.cmake and I have there > > > > > > set(LYX_USE_CXX11 1) > > > set(CXX11_FLAG "") > > > > Of course I uncommented the IF for MSVC 2010 since I use MSVC 2013. So > > set(LYX_USE_CXX11 1) > > should always be executed but apparently it is not. > > > > regards Uwe > > I think, that my patch may have been wrong. > If you look at the lines below, you see the foreach(), there the value is > apparently set to "". > So the correct patch should be > > if (MSVC10) # or whatever > set(LYX_USE_CXX11 1) > set(CXX11_FLAG "") > else() > foreach( .... > .... > endforeach() > endif() > Forget it. We have to set also CXX11COMPILER_FOUND
set(LYX_USE_CXX11 1) set(CXX11_FLAG "") set(CXX11COMPILER_FOUND 1) Kornel
signature.asc
Description: This is a digitally signed message part.