title: Installing gtest with conan
body: <p>I am about to change to conan, in the hope that is will simplify installing my package by my users. It was OK, until I started to add gtest to my package. </p>
  
  <p>During install, I receive messages</p>
  
  <pre><code>gtest/1.8.1@bincrafters/stable: Package installed 
  conanfile.txt imports(): Copied 4 '.a' files: libgmockd.a, libgtestd.a, libgmock_maind.a, libgtest_maind.a
  </code></pre>
  
  <p>However, during build I receive:</p>
  
  <pre><code>/usr/bin/ld: cannot find -lgmock_maind
  /usr/bin/ld: cannot find -lgmockd
  /usr/bin/ld: cannot find -lgtestd
  </code></pre>
  
  <p>My CMakeLists.txt file contains</p>
  
  <pre><code>target_link_libraries(
      ${PROJECT_NAME}_GTEST
      Modules
      ${CONAN_LIBS}
  )
  </code></pre>
  
  <p>What is missing? Shall I provide some </p>
  
  <p>link_directories(?)</p>
  
  <p>argument?</p>
  
  <p>(In the meantime, after some trials, I succeeded: Not only</p>
  
  <pre><code> link_directories(${CONAN_LIB_DIRS_GTEST})
  </code></pre>
  
  <p>is needed, but also conan's .data must be cleared.)</p>