Skip to content

Commit 642f079

Browse files
committed
Improve cmake-init-include docs a little
1 parent a628f3f commit 642f079

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/reference/target-declaration.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ set(CMAKE_EXECUTABLE_SUFFIX_CXX ".elf")
370370
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
371371
```
372372

373+
To work, this file must be included before the `project()` statement in the generated CMakeLists.txt and, as such, be
374+
added using the cmake-init-include target property.
375+
373376
</ShowOnly>
374377

375378
## compiler

0 commit comments

Comments
 (0)