I am trying to build a solution for MSVC++2010 using CMake. Since I installed Visual Studio 2012 that does not work anymore. CMake comes with the following error message: \"
I encountered a similar problem,
In my case, running Visual Studio 2017 as administrator and applying @Adi Shavit's answer worked.