mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +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}")
|