title: kernel32.lib error while building VS2013 project on Cmake in windows 10
body: <p>I'm working on windows 10 and I want to build the CLAPACK library for VS2013 using CMake.<br />
  Now I'm getting error in linking kernel32.lib.<br />
  I used to get this error inside Visual Studio during the building process, but I've solved it by including &quot;D:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x64&quot; in the additional libraries section.<br />
  I've also tried to uninstall the SDK and reinstall it, with no hope.</p>
  <p>Is there anyway to manually include the library directory in the building process in Cmake, or any other way to fix this error?</p>
  <p><strong>EDIT #1:</strong>
  quoted from <a href="https://stackoverflow.com/questions/43422105/lnk1104-cannot-open-file-kernel32-lib-when-windows-sdk-version-is-set-to-15">this answer</a></p>
  <blockquote>
  <p>The Windows 10 Creators Update SDK made some significant changes to
  what is installed as part of the installation to minimize on-disk
  footprint. This is a Known Issue that results from that refactoring
  work where the &quot;desktop&quot; components of the Creators Update SDK do not
  get installed by default.</p>
  </blockquote>
  <p>EDIT #2:
  could it be a compatibility issue between VS 2013 and windows 10?
  my SDK version is 10.0.15063 which needs desktop components to be added manually, my problem is I don't know how to solve this for the VS as whole not a specific project.</p>