Detect the number of CPUs under FreeBSD too
This is under done using exactly the same command as under macOS, unsurprisingly.
This commit is contained in:
parent
ae0e4c6942
commit
a1f29366f0
@ -5,7 +5,7 @@ case `uname` in
|
|||||||
wxPROC_COUNT=`nproc`
|
wxPROC_COUNT=`nproc`
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Darwin)
|
Darwin|FreeBSD)
|
||||||
wxPROC_COUNT=`sysctl -n hw.ncpu`
|
wxPROC_COUNT=`sysctl -n hw.ncpu`
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user