# SDL2 and CMake: problem finding headers

**URL:** <https://discourse.libsdl.org/t/sdl2-and-cmake-problem-finding-headers/38303>\
**Category:** SDL Development\
**Created:** [August 20, 2022, 11:40am UTC](https://discourse.libsdl.org/t/sdl2-and-cmake-problem-finding-headers/38303 "2022-08-20T11:40:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![andreas\_g](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@andreas\_g](https://discourse.libsdl.org/u/andreas_g)\
**Post date:** [September 3, 2022, 6:47am UTC](https://discourse.libsdl.org/t/sdl2-and-cmake-problem-finding-headers/38303/8 "2022-09-03T06:47:06Z")

</div>

Creating a link inside the Headers directory (ln -s . ./SDL2) seems to fix the problem with finding the headers, but breaks code signature so that I still can’t use SDL2 v2.24.0.

---

_[View the full topic](https://discourse.libsdl.org/t/sdl2-and-cmake-problem-finding-headers/38303)._
