# Is there a way to query the value of RUNTIME DESTINATION for a target after an install(TARGETS) call

**URL:** https://discourse.cmake.org/t/is-there-a-way-to-query-the-value-of-runtime-destination-for-a-target-after-an-install-targets-call/1042
**Category:** Usage
**Created:** [April 16, 2020, 4:30pm UTC](https://discourse.cmake.org/t/is-there-a-way-to-query-the-value-of-runtime-destination-for-a-target-after-an-install-targets-call/1042 "2020-04-16T16:30:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alcroito](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alcroito/32/186_2.png) [@alcroito](https://discourse.cmake.org/u/alcroito)
#### Post date: [April 16, 2020, 4:30pm UTC](https://discourse.cmake.org/t/is-there-a-way-to-query-the-value-of-runtime-destination-for-a-target-after-an-install-targets-call/1042/1 "2020-04-16T16:30:17Z")

</div>

Same for LIBRARY DESTINATION / ARCHIVE DESTINATION

```
add_executable(foo)
install(TARGETS foo RUNTIME DESTINATION my_prefix)
# .......
get_property(TARGET foo PROPERTY ????)

```

It seems that install commands are a separate entity from targets, and that information is in no way available after the fact?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [April 16, 2020, 5:45pm UTC](https://discourse.cmake.org/t/is-there-a-way-to-query-the-value-of-runtime-destination-for-a-target-after-an-install-targets-call/1042/2 "2020-04-16T17:45:35Z")

</div>

Right. There’s nothing against having a single target installed multiple times, so simple properties don’t seem like the right solution either.
