Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Hi Peter, >>> >>> I have some problem with CMake which is probably due to the new pch >>> support. Could you please look at it? >>> >>> Thanks in advance, >>> Abdel. >>> >> >> I've never tried the Release build, but I should have. >> >> I assume you've pch enabled. > > Yes. The error happened when I switched back to debug mode. It > apparently tries to re-use the same pch as the Release mode. > > Abdel. > >
Now it should work. I've also enabled precompiled headers by default, it could be disabled by -Ddisable-pch. If sou've disabled pch and wanna enable it without a whole reconfigure you must delete 'disable-pch:STRING=TRUE' in CMakeCache.txt. -- Peter Kümmel