1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

Meta: Print error if cmake does not exist

This commit is contained in:
demostanis 2022-09-02 10:52:15 +02:00 committed by Linus Groh
parent b9dca3300e
commit 1c979889b2
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
include(ProcessorCount)
ProcessorCount(N)
message("${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}")