# Find\_program not finding ccache installed via scoop

**URL:** https://discourse.cmake.org/t/find-program-not-finding-ccache-installed-via-scoop/11299
**Category:** Usage
**Created:** [July 22, 2024, 12:36pm UTC](https://discourse.cmake.org/t/find-program-not-finding-ccache-installed-via-scoop/11299 "2024-07-22T12:36:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LarryOates](https://discourse.cmake.org/user_avatar/discourse.cmake.org/larryoates/32/3654_2.png) [@LarryOates](https://discourse.cmake.org/u/LarryOates)
#### Post date: [July 22, 2024, 12:36pm UTC](https://discourse.cmake.org/t/find-program-not-finding-ccache-installed-via-scoop/11299/1 "2024-07-22T12:36:39Z")

</div>

I’ve installed ccache via [scoop](https://scoop.sh/) on my windows machine. I can use ccache on the command line (the program is on my system path) but CMake can’t find it via find\_program.

Any ideas?

---

<div class="post-metadata">

### Author: ![LarryOates](https://discourse.cmake.org/user_avatar/discourse.cmake.org/larryoates/32/3654_2.png) [@LarryOates](https://discourse.cmake.org/u/LarryOates)
#### Post date: [July 22, 2024, 3:44pm UTC](https://discourse.cmake.org/t/find-program-not-finding-ccache-installed-via-scoop/11299/2 "2024-07-22T15:44:15Z")

</div>

Solved - Just needed to restart my machine after making sure it was on my path environment variable
