# Windows Release missing cmakelists.txt? Required for CMake projects? v2.6.0

**URL:** <https://forum.heroiclabs.com/t/windows-release-missing-cmakelists-txt-required-for-cmake-projects-v2-6-0/3460>\
**Category:** Client Libraries\
**Created:** [January 30, 2023, 6:03am UTC](https://forum.heroiclabs.com/t/windows-release-missing-cmakelists-txt-required-for-cmake-projects-v2-6-0/3460 "2023-01-30T06:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehoo462](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@Mehoo462](https://forum.heroiclabs.com/u/Mehoo462)\
**Post date:** [January 30, 2023, 6:03am UTC](https://forum.heroiclabs.com/t/windows-release-missing-cmakelists-txt-required-for-cmake-projects-v2-6-0/3460/1 "2023-01-30T06:03:11Z")

</div>

Greetings! I’m trying to add Nakama to my cmake project as a static library.

The [docs](https://heroiclabs.github.io/nakama-cpp/html/index.html) say:

> When you’ve downloaded the Nakama C++ archive and extracted it to NAKAMA\_CPP\_SDK folder, you should include it in your project.

I have created a folder called NAKAMA\_CPP\_SDK in my project root and unzipped the contents of win-x64.zip to that folder.

Then I added these two lines to my cmakelists.txt in the project root:

```auto
add_subdirectory(NAKAMA_CPP_SDK ${CMAKE_CURRENT_BINARY_DIR}/nakama-cpp)
target_link_libraries(${APP_NAME} ext_nakama-cpp)

```

When I do that, cmake complains:

```auto
  add_subdirectory given source "NAKAMA_CPP_SDK" which is not an existing
  directory.

```

If provide an absolute path to the nakama files, it finds them but then it complains:  
`[path] does not contain a CMakeLists.txt file.`

I’m not a cmake wizard, but I think I’ve followed the directions here. Thank you for any assistance!

---

<div class="post-metadata">

**Author:** ![mharis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mharis/32/969_2.png) [@mharis](https://forum.heroiclabs.com/u/mharis)\
**Post date:** [January 31, 2023, 5:42pm UTC](https://forum.heroiclabs.com/t/windows-release-missing-cmakelists-txt-required-for-cmake-projects-v2-6-0/3460/2 "2023-01-31T17:42:03Z")

</div>

Hello, firstly you’d need to use `find_package` instead of `add_subdirectory` but also there is a bug which currently prevents static builds which is going to be fixed asap so keep an eye on the next release.
