title: CMake find_package(PythonLibs) not working
body: <p>I am trying to use <code>Python.h</code> in a C++ project compiled with g++. I am using CMake to generate proper include/lib links. I am using the built-in feature</p>
  
  <pre><code>find_package(PythonLibs REQUIRED)
  </code></pre>
  
  <p>but cannot get it working. I have been looking in <code>FindPythonLibs.cmake</code> to see what CMake was looking for and I found some registry keys that were missing on my machine. For example in the <code>PYTHON_INCLUDE_DIR</code> section : <code>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/include</code></p>
  
  <p>Here is what I found in my registry :</p>
  
  <ul>
  <li><code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Python.CompiledFile</code></li>
  <li><code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Python.File</code></li>
  <li><code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Python.NoConFile</code></li>
  </ul>
  
  <p>I have my Python files installed in <code>C:/Python33</code> and <code>find_package(PythonInterp)</code> is working fine (maybe because it finds the .exe file without having to hit the registry). Seems like some things are missing...  Is there a quick way to fix this ?</p>
  
  <p>[Setup] : Python 3.3.2, Win8 64bit</p>