# RUNTIME\_DEPENDENCIES

**URL:** https://discourse.cmake.org/t/runtime-dependencies/4497
**Category:** Code
**Created:** [November 17, 2021, 4:38pm UTC](https://discourse.cmake.org/t/runtime-dependencies/4497 "2021-11-17T16:38:53Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [November 17, 2021, 8:30pm UTC](https://discourse.cmake.org/t/runtime-dependencies/4497/6 "2021-11-17T20:30:11Z")

</div>

Oh, `file(GET_RUNTIME_DEPENDENCIES)`. For some reason, I kept reading it as the genex, sorry.

It doesn’t search `PATH` for the same reason that `LD_LIBRARY_PATH` and `DYLD_LIBRARY_PATH` are ignored on Linux and macOS. See [this answer](https://discourse.cmake.org/t/runtime-dependencies-cannot-find-dll/3782/4).

---

_[View the full topic](https://discourse.cmake.org/t/runtime-dependencies/4497)._
