aboutsummaryrefslogtreecommitdiff
path: root/cmake/InstallHelpers.cmake
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-11-03 18:07:56 +0100
committerFlorian Walch <florian@fwalch.com>2014-11-03 18:07:56 +0100
commit3fa28d2ba554687ffb17e8c5dd64b7ef4ba81e9e (patch)
treea9ae5d772acc853e8f9da28a38a6452a59f4fabe /cmake/InstallHelpers.cmake
parent6c0a596dacd7672e650847f1ed15e6a2a67b1483 (diff)
downloadrneovim-3fa28d2ba554687ffb17e8c5dd64b7ef4ba81e9e.tar.gz
rneovim-3fa28d2ba554687ffb17e8c5dd64b7ef4ba81e9e.tar.bz2
rneovim-3fa28d2ba554687ffb17e8c5dd64b7ef4ba81e9e.zip
Revert "Merge pull request #1381 from xzfc/master"
This reverts commit 6c0a596dacd7672e650847f1ed15e6a2a67b1483, reversing changes made to 33d3a7c83b2f1d2cda22b53bf82d68267154cdfd.
Diffstat (limited to 'cmake/InstallHelpers.cmake')
-rw-r--r--cmake/InstallHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/InstallHelpers.cmake b/cmake/InstallHelpers.cmake
index bf1ef1c0d6..faf980bd47 100644
--- a/cmake/InstallHelpers.cmake
+++ b/cmake/InstallHelpers.cmake
@@ -22,7 +22,7 @@ function(create_install_dir_with_perms)
install(CODE
"
- if(DEFINED ENV{DESTDIR})
+ if(ENV{DESTDIR})
set(PREFIX \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX})
else()
set(PREFIX \${CMAKE_INSTALL_PREFIX})