mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Toolchain: Add some required options to the default CMake options.
This commit is contained in:
parent
df74a9222f
commit
95893b0d53
|
@ -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…
Reference in a new issue