mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
CMake: Fix checking of DESTDIR
This commit is contained in:
parent
33d3a7c83b
commit
62ede403f0
@ -22,7 +22,7 @@ function(create_install_dir_with_perms)
|
||||
|
||||
install(CODE
|
||||
"
|
||||
if(ENV{DESTDIR})
|
||||
if(DEFINED ENV{DESTDIR})
|
||||
set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
|
||||
else()
|
||||
set(PREFIX \${CMAKE_INSTALL_PREFIX})
|
||||
|
Loading…
Reference in New Issue
Block a user