mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Meta: Print error if cmake does not exist
This commit is contained in:
parent
b9dca3300e
commit
1c979889b2
Notes:
sideshowbarker
2024-07-17 05:40:46 +09:00
Author: https://github.com/demostanis
Commit: 1c979889b2
Pull-request: https://github.com/SerenityOS/serenity/pull/15104
Reviewed-by: https://github.com/timschumi
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