mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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
@ -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…
x
Reference in New Issue
Block a user