# install(RUNTIME\_DEPENDENCY\_SET appDeps) does nothing install?

**URL:** <https://discourse.cmake.org/t/install-runtime-dependency-set-appdeps-does-nothing-install/9741>\
**Category:** Code\
**Created:** [December 30, 2023, 5:50pm UTC](https://discourse.cmake.org/t/install-runtime-dependency-set-appdeps-does-nothing-install/9741 "2023-12-30T17:50:11Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)\
**Post date:** [January 16, 2025, 10:26pm UTC](https://discourse.cmake.org/t/install-runtime-dependency-set-appdeps-does-nothing-install/9741/21 "2025-01-16T22:26:29Z")

</div>

> [@GulgDev](#):
>
> ```auto
> POST_EXCLUDE_REGEXES
> [=[.*system32\/.*\.dll]=]
> 
> ```

Small correction to this: it is possible for the internal logic to encounter Windows paths with either forward slashes or backslashes. To account for that, modify the above to this (plus use a preceding slash to avoid unintended matches):

```cmake
	POST_EXCLUDE_REGEXES
		[=[.*(\\|/)system32(\\|/).*\.dll]=]

```

> [@GulgDev](#):
>
> ```auto
> [=[^\/(lib|usr\/lib|usr\/local\/lib\/lib64)]=]
> 
> ```

Not sure if you should really be excluding these, but if you must, why escape all the forward slashes? This could just be:

```auto
		[=[^/(lib|usr/lib|usr/local/lib/lib64)]=]

```

[Previous page](https://discourse.cmake.org/t/install-runtime-dependency-set-appdeps-does-nothing-install/9741.md?page=1)
