mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
Toolchain: Add some required options to the default CMake options.
This commit is contained in:
parent
df74a9222f
commit
95893b0d53
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