title: libwebsockets (on ubuntu) - trying compile example "lws minimal ws server + permessage-deflate echo" - can't find libwebsocketsConfig.cmake
body: <p>I am an (absolute) beginner with libwebsockets (and cmake), and am trying to build one of the minimal examples from libwebsockets.org:</p>
  <pre><code>&quot;lws minimal ws server + permessage-deflate echo&quot; 
  </code></pre>
  <p>at</p>
  <p><a href="https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/ws-server/minimal-ws-server-echo" rel="nofollow noreferrer">https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/ws-server/minimal-ws-server-echo</a></p>
  <p>I have installed libwebsockets-dev (sudo apt install libwebsockets-dev) and cmake (sudo apt install cmake).</p>
  <p>The example page tells me to build the example (two .c files and CMakeLists.txt) using</p>
  <pre><code> $ cmake . &amp;&amp; make
  </code></pre>
  <p>The build fails with the following message:</p>
  <pre><code>CMake Error at CMakeLists.txt:3 (find_package):
    Could not find a package configuration file provided by &quot;libwebsockets&quot;
    with any of the following names:
  
      libwebsocketsConfig.cmake
      libwebsockets-config.cmake
  
    Add the installation prefix of &quot;libwebsockets&quot; to CMAKE_PREFIX_PATH or set
    &quot;libwebsockets_DIR&quot; to a directory containing one of the above files.  If
    &quot;libwebsockets&quot; provides a separate development package or SDK, be sure it
    has been installed.
  
  
  -- Configuring incomplete, errors occurred!
  See also &quot;/home/user/ws/CMakeFiles/CMakeOutput.log&quot;.
  </code></pre>
  <p>I cannot find either of the .cmake files in my system (they are evidently not provided as part of package libwebsockets-dev.)</p>
  <p>What am I missing?</p>
  <p>Thank you!</p>