mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 09:27:46 +00:00
Meta: Error out on find_program errors with CMake less than 3.18
We have seen some cases where the build fails for folks, and they are missing unzip/tar/gzip etc. We can catch some of these in CMake itself, so lets make sure to handle that uniformly across the build system. The REQUIRED flag to `find_program` was only added on in CMake 3.18 and above, so we can't rely on that to actually halt the program execution.
This commit is contained in:
parent
6b5f0d11ce
commit
66e7ac1954
6 changed files with 31 additions and 10 deletions
|
@ -32,6 +32,7 @@ if(NOT COMMAND serenity_option)
|
|||
endmacro()
|
||||
endif()
|
||||
|
||||
include(check_for_dependencies)
|
||||
include(lagom_options)
|
||||
|
||||
if(ENABLE_ALL_THE_DEBUG_MACROS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue