mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
CMake: Fix helptags generation.
This commit is contained in:
parent
3fa28d2ba5
commit
cc7199f0e5
@ -1,4 +1,4 @@
|
||||
if(ENV{DESTDIR})
|
||||
if(DEFINED ENV{DESTDIR})
|
||||
file(TO_CMAKE_PATH
|
||||
"$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/nvim/runtime/doc"
|
||||
HELPTAGS_WORKING_DIRECTORY)
|
||||
|
@ -23,6 +23,7 @@ function(create_install_dir_with_perms)
|
||||
install(CODE
|
||||
"
|
||||
if(ENV{DESTDIR})
|
||||
# TODO(fwalch): Is this branch ever taken (#1381, #1387)?
|
||||
set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
|
||||
else()
|
||||
set(PREFIX \${CMAKE_INSTALL_PREFIX})
|
||||
|
Loading…
Reference in New Issue
Block a user