title: how to remove --enable-auto-import warning using cmake
body: <p>im getting this linker warning. how do i fix it using cmake? here's my root CMakeLists.txt:</p>
  
  <pre><code># CMakeLists.txt /
  
  cmake_minimum_required(VERSION 2.8)
  
  project(FactoryPattern)
  
  include_directories(stores/include)
  
  add_subdirectory(factories)
  add_subdirectory(ingredients)
  add_subdirectory(stores)
  
  add_executable(factory MyPizzaStore.cpp)
  
  target_link_libraries(factory pizzaStore)
  </code></pre>