2022-02-28 17:56:38 -05:00
|
|
|
include(ProcessorCount)
|
|
|
|
ProcessorCount(N)
|
2022-09-02 04:52:15 -04:00
|
|
|
# Executing echo here allows us to print to the standard output,
|
|
|
|
# to separate the processor count from potential errors
|
|
|
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "${N}")
|