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: https://github.com/SerenityOS/serenity/commit/95893b0d530 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.")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions")
|
||||
|
||||
# where to read from/write to
|
||||
set(CMAKE_SYSROOT $ENV{SERENITY_ROOT}/Root)
|
||||
set(CMAKE_STAGING_PREFIX $ENV{SERENITY_ROOT}/Root)
|
||||
|
|
Loading…
Add table
Reference in a new issue