mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Meta: Require unzip and tar explicitly in CMakeLists
This should help stem the tide of people hopping in the build problems channel on discord because they don't have unzip installed.
This commit is contained in:
parent
6caedc71c1
commit
60e27dea9c
Notes:
sideshowbarker
2024-07-18 05:02:41 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/60e27dea9cf Pull-request: https://github.com/SerenityOS/serenity/pull/9700 Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 5 additions and 0 deletions
|
@ -155,6 +155,11 @@ if(CCACHE_PROGRAM)
|
|||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
|
||||
endif()
|
||||
|
||||
# FIXME: With cmake 3.18, we can change unzip/untar steps to use
|
||||
# file(ARCHIVE_EXTRACT) instead
|
||||
find_program(UNZIP unzip REQUIRED)
|
||||
find_program(TAR tar REQUIRED)
|
||||
|
||||
unset(CMAKE_SYSROOT)
|
||||
set(CMAKE_STAGING_PREFIX ${CMAKE_BINARY_DIR}/Root)
|
||||
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/Root)
|
||||
|
|
Loading…
Reference in a new issue