# target link quoted options with variable

**URL:** https://discourse.cmake.org/t/target-link-quoted-options-with-variable/2930
**Category:** Code
**Tags:** os:windows, gen:ninja
**Created:** [March 10, 2021, 2:06pm UTC](https://discourse.cmake.org/t/target-link-quoted-options-with-variable/2930 "2021-03-10T14:06:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![kmosk](https://discourse.cmake.org/user_avatar/discourse.cmake.org/kmosk/32/1279_2.png) [@kmosk](https://discourse.cmake.org/u/kmosk)
#### Post date: [March 10, 2021, 2:40pm UTC](https://discourse.cmake.org/t/target-link-quoted-options-with-variable/2930/4 "2021-03-10T14:40:58Z")

</div>

Also found a similar problem, but the solution doesn’t work for me: [3](https://discourse.cmake.org/t/string-escaping-with-target-compile-options/2117)

---

_[View the full topic](https://discourse.cmake.org/t/target-link-quoted-options-with-variable/2930)._
