Disable exception handling in CMake build
Now that muparser no longer relies on exceptions, we can disable them again.
This commit is contained in:
parent
8b16fccebf
commit
3099d46736
@ -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 "^$")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user