Skip to content

Commit

Permalink
README.md: hint to set CUDA arch
Browse files Browse the repository at this point in the history
+ set --config to --build - needed for multigenerators like MSbuild to
actually build Release target
  • Loading branch information
MartinPulec committed Jan 17, 2025
1 parent 5fb5d12 commit a6fca1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ To build console application check [Requirements](#requirements) and go
to `gpujpeg` directory (where [README.md](README.md) and [COPYING](COPYING)
files are placed) and run `cmake` command:

cmake -DCMAKE_BUILD_TYPE=Release -Bbuild .
cmake --build build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=native -Bbuild .
cmake --build build --config Release

You can also use **autotools** to create a build recipe for the library and the
application or a plain old _Makefile.bkp_. However, _cmake_ is recommended.
Expand Down

0 comments on commit a6fca1c

Please sign in to comment.