mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #1443 from jszakmeister/allow-root-dir-installs
build: allow installing into the root directory (/)
This commit is contained in:
commit
911c5518a5
@ -22,10 +22,6 @@ function(create_install_dir_with_perms)
|
||||
|
||||
install(CODE
|
||||
"
|
||||
if(DEFINED ENV{DESTDIR} AND NOT IS_ABSOLUTE \${CMAKE_INSTALL_PREFIX})
|
||||
message(FATAL_ERROR \"Install prefix must be absolute when using DESTDIR\")
|
||||
endif()
|
||||
|
||||
set(_current_dir \"\${CMAKE_INSTALL_PREFIX}/${_install_dir_DESTINATION}\")
|
||||
set(_dir_permissions \"${_install_dir_DIRECTORY_PERMISSIONS}\")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user