Skip to content

Commit

Permalink
Toolchain: Add some required options to the default CMake options.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell authored and awesomekling committed May 18, 2019
1 parent df74a92 commit 95893b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Toolchain/CMakeToolchain.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 95893b0

Please sign in to comment.