title: How do I correctly pass CMake list (semicolon-sep) of flags to set_target_properties?
body: <p>CMake lists are essentially just semicolon-separated strings, but if you pass such a variable to a command, it does get expanded into multiple arguments - for example,</p>
  <pre><code>set(FLAGS f1 f2 f3)
  # now FLAGS == 'f1;f2;f3'
  add_custom_command(
    ...
    COMMAND my_cmd ${FLAGS}
    ...
  )
  </code></pre>
  <p>will correctly call <code>my_cmd f1 f2 f3</code>.</p>
  <p>Now if I do this with</p>
  <pre><code>set_target_properties(
    myTarget PROPERTIES
    LINK_FLAGS  &quot;${LD_FLAGS}&quot;
  )
  </code></pre>
  <p>the expansion does not occur, and I end up with a single <code>LD_FLAG</code> that contains semicolons -- useless, instead of expanding it into a space-separated string.</p>
  <p>Is there any way to make it so that when I pass a list to the LINK_FLAGS property (or any property that is), it gets expanded into multiple arguments rather than just one?</p>