Disable exception handling in CMake build

Now that muparser no longer relies on exceptions, we can disable them
again.
This commit is contained in:
ridiculousfish 2017-12-17 14:45:29 -08:00
parent 8b16fccebf
commit 3099d46736

View file

@ -4,6 +4,9 @@ PROJECT(fish-shell CXX)
# We are C++11.
SET(CMAKE_CXX_STANDARD 11)
# Disable exception handling.
ADD_COMPILE_OPTIONS(-fno-exceptions)
# Hide the CMake Rules directories in Xcode projects.
SOURCE_GROUP("CMake Rules" REGULAR_EXPRESSION "^$")