mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -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
|
install(CODE
|
||||||
"
|
"
|
||||||
if(ENV{DESTDIR})
|
if(DEFINED ENV{DESTDIR})
|
||||||
set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
|
set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
|
||||||
else()
|
else()
|
||||||
set(PREFIX \${CMAKE_INSTALL_PREFIX})
|
set(PREFIX \${CMAKE_INSTALL_PREFIX})
|
||||||
|
Loading…
Reference in New Issue
Block a user