# fetchcontent how to override dependency details

**URL:** https://discourse.cmake.org/t/fetchcontent-how-to-override-dependency-details/1639
**Category:** Usage
**Created:** [July 29, 2020, 2:25pm UTC](https://discourse.cmake.org/t/fetchcontent-how-to-override-dependency-details/1639 "2020-07-29T14:25:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [July 29, 2020, 2:25pm UTC](https://discourse.cmake.org/t/fetchcontent-how-to-override-dependency-details/1639/1 "2020-07-29T14:25:43Z")

</div>

When using FetchContent: I need to override dependency details for an already populated content.

How do I do this? More specifically, I need to change the tag used for checkout on a git repository.

---

<div class="post-metadata">

### Author: ![hex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/hex/32/363_2.png) [@hex](https://discourse.cmake.org/u/hex)
#### Post date: [July 29, 2020, 3:00pm UTC](https://discourse.cmake.org/t/fetchcontent-how-to-override-dependency-details/1639/2 "2020-07-29T15:00:36Z")

</div>

it is updated automatically every time the `CMakeLists.txt` file is changed, no reconfiguration needed.
