# When installing/deploying for macOS, do I need to worry about RPATH

**URL:** https://discourse.cmake.org/t/when-installing-deploying-for-macos-do-i-need-to-worry-about-rpath/13732
**Category:** Usage
**Created:** [March 12, 2025, 11:35am UTC](https://discourse.cmake.org/t/when-installing-deploying-for-macos-do-i-need-to-worry-about-rpath/13732 "2025-03-12T11:35:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![perdrix](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/a8b319/32.png) [@perdrix](https://discourse.cmake.org/u/perdrix)
#### Post date: [March 12, 2025, 11:35am UTC](https://discourse.cmake.org/t/when-installing-deploying-for-macos-do-i-need-to-worry-about-rpath/13732/1 "2025-03-12T11:35:49Z")

</div>

Do I need to do

```auto
set(CMAKE_MACOSX_RPATH 1)

```

What should I set `CMAKE_INSTALL_RPATH` to?

Thanks  
David
