title: How to fix unknown command error in CMake, when I using Conan?
body: <p>I've got CMakeLists.txt file:</p>
  
  <pre><code>project(ip_filter LANGUAGES CXX)
  cmake_minimum_required(VERSION 2.8)
  
  include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
  conan_basic_setup()
  
  add_executable(ip_filter ip_filter.cpp)
  target_link_libraries(ip_filter ${CONAN_LIBS})
  
  </code></pre>
  
  <p>At the same folder, I've got a conanfile.txt:</p>
  
  <pre><code>[requires]
  range-v3/0.9.1@ericniebler/stable
  
  [generators]
  cmake
  </code></pre>
  
  <p>When I tried to build it, using:</p>
  
  <p><code>$ cmake CMakeLists.txt</code></p>
  
  <p>I've got this output:</p>
  
  <pre><code>CMake Error at CMakeLists.txt:4 (include):
    include could not find load file:
  
      /home/bogdasar/Documents/C++_Programming/ip_filter/conanbuildinfo.cmake
  
  
  CMake Error at CMakeLists.txt:5 (conan_basic_setup):
    Unknown CMake command "conan_basic_setup".
  
  
  -- Configuring incomplete, errors occurred!
  See also "/home/bogdasar/Documents/C++_Programming/ip_filter/CMakeFiles/CMakeOutput.log".
  </code></pre>