Skip to content

Commit d37ad90

Browse files
pdietljserv
authored andcommitted
Use the '--toolchain' option for CMake
Signed-off-by: Jim Huang <jserv@ccns.ncku.edu.tw>
1 parent 4e4a678 commit d37ad90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Instruction for building the ThreadX as static library using Arm GNU Toolchain a
197197
An example of building the library for Cortex-M4:
198198
199199
```bash
200-
$ cmake -Bbuild -GNinja -DCMAKE_TOOLCHAIN_FILE=cmake/cortex_m4.cmake .
200+
$ cmake -Bbuild -GNinja --toolchain cmake/cortex_m4.cmake .
201201

202202
$ cmake --build ./build
203203
```

0 commit comments

Comments
 (0)