title: How can I use Boost Log with CMake? Find_Package Error
body: <p>I'm trying to use Boost log in a CMake project but I get an error when reloading CMake.</p>
  <p>Here is my CMake:</p>
  <pre><code>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
  PROJECT(MyProject)
  add_executable(MyProject)
  
  FIND_PACKAGE(Boost COMPONENTS program_options system log filesystem REQUIRED)
  
  if (Boost_FOUND)
      include_directories(${Boost_INCLUDE_DIRS})
  
      LIST(APPEND CMAKE_CXX_FLAGS &quot;-Wall -O3&quot;)
  
      TARGET_LINK_LIBRARIES(MyProject ${Boost_LIBRARIES}
  
  endif ()
  
  </code></pre>
  <p>Everything was working mighty fine until I added <code>log</code> to <code>FIND_PACKAGES()</code></p>
  <p>Now, after having added <code>log</code> to <code>FIND_PACKAGES</code>, I get the following CMake output:</p>
  <pre><code>  Could not find a package configuration file provided by &quot;boost_log&quot;
    (requested version 1.71.0) with any of the following names:
  
      boost_logConfig.cmake
      boost_log-config.cmake
  
    Add the installation prefix of &quot;boost_log&quot; to CMAKE_PREFIX_PATH or set
    &quot;boost_log_DIR&quot; to a directory containing one of the above files.  If
    &quot;boost_log&quot; provides a separate development package or SDK, be sure it has
    been installed.
  </code></pre>
  <p>I cannot find those files (-config.cmake) for <code>log</code> anywhere and I don't know how to get them. I do have those files for <code>program_options</code>, <code>system</code> and <code>filesystem</code> packages.</p>