mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:24:47 +08: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:
parent
af5869886b
commit
8a67a113d8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user