mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
5 lines
222 B
CMake
5 lines
222 B
CMake
include(ProcessorCount)
|
|
ProcessorCount(N)
|
|
# 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}")
|