Skip to content

Commit 6d380f2

Browse files
committed
Readme: CMake guidance to select CUDA version on Windows
Close #1254
1 parent a31013d commit 6d380f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ REM Alternatively, build from the command line specifying the build configuratio
144144
cmake --build . --config Release --target flamegpu boids_bruteforce --verbose
145145
```
146146

147+
On Windows, by default CMake will select the newest version of CUDA available when configuring. If you have multiple versions of CUDA installed then you can select an earlier installed CUDA version (e.g. CUDA 11.0) by additionally passing `-T cuda=11.0` when calling CMake configure (`cmake ..`).
148+
147149
#### Configuring and Building a single example
148150

149151
It is also possible to configure and build individual examples as standalone CMake projects.

0 commit comments

Comments
 (0)