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:
parent
b9dca3300e
commit
1c979889b2
2 changed files with 4 additions and 2 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue