Toolchain: Fix outdated error message about SERENITY_ROOT (#3624)

This commit is contained in:
Brian Pfeil 2020-09-27 15:13:04 -04:00 committed by GitHub
parent 700cbc02ec
commit 50e9000b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 02:09:54 +09:00

View file

@ -1,7 +1,7 @@
set(CMAKE_SYSTEM_NAME Generic)
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.")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions")