title: Could not find a package configuration file provided by "boost_atomic"
body: <p>I am compiling C/C++ to <code>wasm</code> with emscripten. And need <code>boost</code> library as well. Pretty new to <code>emscripten</code> and <code>wasm</code></p>
  
  <p>After installing emscripten and boost. I ran the following command </p>
  
  <pre><code>emconfigure cmake -DBoost_DEBUG=1
  -Dboost_headers_DIR=../boost_1_71_0/build/lib/cmake/boost_headers-1.71.0
  -DBoost_DIR=../boost_1_71_0/build/lib/cmake/Boost-1.71.0 -Dboost_program_options_DIR=../boost_1_71_0/build/lib/cmake/boost_program_options-1.71.0
  -Dboost_system_DIR=../boost_1_71_0/build/lib/cmake/boost_system-1.71.0 -Dboost_thread_DIR=../boost_1_71_0/build/lib/cmake/boost_thread-1.71.0 -Dboost_unit_test_framework_DIR=../boost_1_71_0/build/lib/cmake/boost_unit_test_framework-1.71.0
  -DZLIB_INCLUDE_DIR=${HOME}/.emscripten_ports/zlib/zlib-version_1 -DZLIB_LIBRARY=${HOME}/.emscripten_cache/asmjs -DBUILD_TESTING=0 -DBoost_USE_STATIC_LIBS=ON -DBoost_USE_STATIC_RUNTIME=ON -DBUILD_EXEC=OFF -DBUILD_TESTING=OFF ..
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>CMake Error at /home/../boost_1_71_0/build/lib/cmake/boost_thread-1.71.0/boost_thread-config.cmake:91 (find_package):
    Could not find a package configuration file provided by "boost_atomic"
    (requested version 1.71.0) with any of the following names:
  
      boost_atomicConfig.cmake
      boost_atomic-config.cmake
  
    Add the installation prefix of "boost_atomic" to CMAKE_PREFIX_PATH or set
    "boost_atomic_DIR" to a directory containing one of the above files.  If
    "boost_atomic" provides a separate development package or SDK, be sure it
    has been installed.
  </code></pre>
  
  <p>The <code>boost_atomic-config.cmake</code> is at <code>/home/../boost_1_71_0/build/lib/cmake/boost_atomic-1.71.0/boost_atomic-config.cmake</code>. How should I set the <code>boost_atomic_DIR</code> path to this file, as required above?  </p>