mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ PROJECT(fish-shell CXX)
|
||||||
# We are C++11.
|
# We are C++11.
|
||||||
SET(CMAKE_CXX_STANDARD 11)
|
SET(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
# Disable exception handling.
|
||||||
|
ADD_COMPILE_OPTIONS(-fno-exceptions)
|
||||||
|
|
||||||
# Hide the CMake Rules directories in Xcode projects.
|
# Hide the CMake Rules directories in Xcode projects.
|
||||||
SOURCE_GROUP("CMake Rules" REGULAR_EXPRESSION "^$")
|
SOURCE_GROUP("CMake Rules" REGULAR_EXPRESSION "^$")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue