mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Revert "Work around cmake/ninja bug that leads to installation failure"
This reverts commit 36a2f2cc01.
This attempted to modify RPATH when building with Ninja, but the CMake if
statement wasn't actually valid so this wasn't doing anything. This check
couldn't really be tested - let's make sure not to accumulate build system
rules that we don't understand.
This commit is contained in:
@@ -4,12 +4,6 @@ PROJECT(fish-shell CXX)
|
||||
# We are C++11.
|
||||
SET(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
# Work around cmake/ninja bug that fails on install with ninja
|
||||
# See https://cmake.org/Bug/print_bug_page.php?bug_id=13934
|
||||
if (NINJA)
|
||||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
|
||||
endif(NINJA)
|
||||
|
||||
# Disable exception handling.
|
||||
ADD_COMPILE_OPTIONS(-fno-exceptions)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user