mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Revert "Work around cmake/ninja bug that leads to installation failure"
This reverts commit 36a2f2cc01c2a04b240819884f41174cf56f79a6. 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…
x
Reference in New Issue
Block a user