Skip to content

Commit

Permalink
Try specify in cmake command
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-hbrhbr committed Feb 5, 2025
1 parent 8f1a99d commit e920627
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions taskfiles/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ tasks:
cmds:
- >-
cmake
-DCMAKE_C_COMPILER=/usr/bin/gcc-10
-DCMAKE_CXX_COMPILER=/usr/bin/g++-10
--build "{{.G_BUILD_DIR}}"
--parallel {{numCPU}}
--target {{range .TARGETS}}{{.}} {{end}}
Expand Down

0 comments on commit e920627

Please sign in to comment.