mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
Toolchain: Add some required options to the default CMake options.
This commit is contained in:
parent
df74a9222f
commit
95893b0d53
Notes:
sideshowbarker
2024-07-19 14:02:47 +09:00
Author: https://github.com/rburchell
Commit: 95893b0d53
Pull-request: https://github.com/SerenityOS/serenity/pull/55
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ if (NOT DEFINED ENV{SERENITY_ROOT})
|
||||||
message(FATAL_ERROR "SERENITY_ROOT not set. Please source Toolchain/UseIt.sh.")
|
message(FATAL_ERROR "SERENITY_ROOT not set. Please source Toolchain/UseIt.sh.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions")
|
||||||
|
|
||||||
# where to read from/write to
|
# where to read from/write to
|
||||||
set(CMAKE_SYSROOT $ENV{SERENITY_ROOT}/Root)
|
set(CMAKE_SYSROOT $ENV{SERENITY_ROOT}/Root)
|
||||||
set(CMAKE_STAGING_PREFIX $ENV{SERENITY_ROOT}/Root)
|
set(CMAKE_STAGING_PREFIX $ENV{SERENITY_ROOT}/Root)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue