# Error with setting up glfw 3.4 with Cmake 3.29 for opengl c++ project

**URL:** <https://discourse.glfw.org/t/error-with-setting-up-glfw-3-4-with-cmake-3-29-for-opengl-c-project/2616>\
**Category:** support\
**Created:** [May 2, 2024, 2:08pm UTC](https://discourse.glfw.org/t/error-with-setting-up-glfw-3-4-with-cmake-3-29-for-opengl-c-project/2616 "2024-05-02T14:08:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivloo](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@shivloo](https://discourse.glfw.org/u/shivloo)\
**Post date:** [May 2, 2024, 2:08pm UTC](https://discourse.glfw.org/t/error-with-setting-up-glfw-3-4-with-cmake-3-29-for-opengl-c-project/2616/1 "2024-05-02T14:08:53Z")

</div>

I am a Computer Science student who is planning to develop a solar system project in c++

I keep getting set\_target (properties…) issues when I try to configure cmake to use glfw .

Please fix glfw 3.4 so that Cmake recognises glfw

I will posting the error messages  
Cmakelist cannot be found in … directory

Set\_target not found

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [May 2, 2024, 3:53pm UTC](https://discourse.glfw.org/t/error-with-setting-up-glfw-3-4-with-cmake-3-29-for-opengl-c-project/2616/2 "2024-05-02T15:53:20Z")

</div>

Hi @shivloo welcome to the GLFW forum,

You should check out the GLFW CMake starter below for an example, along with the instructions in the readme.

> **[GitHub - juliettef/GLFW-CMake-starter: Use CMake to create a project with GLFW...](https://github.com/juliettef/GLFW-CMake-starter)**
>
> Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS. - juliettef/GLFW-CMake-starter
