# \`\`import std\`\` doesn't work on windows

**URL:** https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268
**Category:** Usage
**Tags:** os:windows, gen:ninja
**Created:** [June 20, 2025, 8:57am UTC](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268 "2025-06-20T08:57:25Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)
#### Post date: [June 21, 2025, 9:56am UTC](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268/19 "2025-06-21T09:56:07Z")

</div>

so read

- [No SOURCES given to target: \_\_CMAKE\_\_CXX26 on ubuntu 25.04 - #10 by ben.boeckel](https://discourse.cmake.org/t/no-sources-given-to-target-cmake-cxx26-on-ubuntu-25-04/14240/10)
- [No SOURCES given to target: \_\_CMAKE\_\_CXX26 on ubuntu 25.04 - #12 by ClausKlein](https://discourse.cmake.org/t/no-sources-given-to-target-cmake-cxx26-on-ubuntu-25-04/14240/12)

---

_[View the full topic](https://discourse.cmake.org/t/import-std-doesnt-work-on-windows/14268)._
