title: Cannot compile GLFW after building it in QtCreator with CMake (Ubuntu)
body: <p>I have <a href="https://www.glfw.org/download.html" rel="nofollow noreferrer">downloaded</a> the GLFW source package for building the library. 
  In the QtCreator IDE, I go to <code>File/Open file or project</code> and select the <code>CMakeLists.txt</code> of GLFW. The project is built and the resulting files stored in a certain folder. </p>
  
  <p>The next step is to compile the library to get the <code>.a</code> files (we want to create a static library that could be used by another application). However, the compilation never ends, and the compile output shows <code>"Persisting CMake state..."</code> forever. </p>
  
  <p>I have made my research but cannot find an answer to this. I'm not an expert on CMake or QtCreator IDE.</p>
  
  <p>I could build the project for MVS (Microsoft Visual Studio) in Windows with <code>cmake -G"Visual Studio 15 2017" path/to/CMakeLists.txt</code>
  And then compile the resulting MVS project with MVS.</p>
  
  <p>I could do the same on Linux using only the command line (<code>cmake path/to/CMakeLists.txt</code>, <code>make all</code>).</p>
  
  <p>However, I find these problem with QtCreator... </p>