mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Toolchain: Update build paths in CMakeToolchain.txt
This commit is contained in:
parent
d0427b610c
commit
f45e16a6a2
Notes:
sideshowbarker
2024-07-18 21:30:19 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/f45e16a6a21 Pull-request: https://github.com/SerenityOS/serenity/pull/5737
1 changed files with 6 additions and 4 deletions
|
@ -10,11 +10,13 @@ endif()
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
|
||||
|
||||
set(SERENITY_BUILD_DIR $ENV{SERENITY_ROOT}/Build/$ENV{SERENITY_ARCH})
|
||||
|
||||
# where to read from/write to
|
||||
set(CMAKE_SYSROOT $ENV{SERENITY_ROOT}/Build/Root)
|
||||
set(CMAKE_STAGING_PREFIX $ENV{SERENITY_ROOT}/Build/Root/usr)
|
||||
set(CMAKE_INSTALL_PREFIX $ENV{SERENITY_ROOT}/Build/Root/usr)
|
||||
set(CMAKE_INSTALL_DATAROOTDIR $ENV{SERENITY_ROOT}/Build/Root/usr/share)
|
||||
set(CMAKE_SYSROOT ${SERENITY_BUILD_DIR}/Root)
|
||||
set(CMAKE_STAGING_PREFIX ${SERENITY_BUILD_DIR}/Root/usr)
|
||||
set(CMAKE_INSTALL_PREFIX ${SERENITY_BUILD_DIR}/Root/usr)
|
||||
set(CMAKE_INSTALL_DATAROOTDIR ${SERENITY_BUILD_DIR}/Root/usr/share)
|
||||
|
||||
set(CMAKE_C_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-gcc)
|
||||
set(CMAKE_CXX_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-g++)
|
||||
|
|
Loading…
Reference in a new issue