mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +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
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…
Add table
Add a link
Reference in a new issue