title: Is there a LINK_DIRECTORIES or equivalent property in CMake?
body: <p>I have created a project with a large number of link_directories() commands. I'd now like to store the resulting string of directories into a variable. For include_directories() this is easy using</p>
  
  <pre><code>get_property( test_INCLUDE_DIRECTORIES TARGET test PROPERTY INCLUDE_DIRECTORIES )
  </code></pre>
  
  <p>however there seems to be no LINK_DIRECTORIES property to do</p>
  
  <pre><code>get_property( test_LINK_DIRECTORIES TARGET test PROPERTY LINK_DIRECTORIES )
  </code></pre>
  
  <p>Is there a way to get a list of link directories used for a target?</p>
  
  <p>(Note: I realize I could manually track the link directories in a variable myself and then use a single link_directories() but it doesn't seem very clean)</p>