summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-07-21 10:37:21 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-07-21 10:37:21 +0200
commitcb5324913ddb03ca7433b358ecb1bed44fbe3ac3 (patch)
tree29c4ff980f3678813b76f5ada6c09e7d6df53181 /CMakeLists.txt
parent3a30d816ccf978a1334087eac121c98727734a86 (diff)
Only use DESTDIR in post_install.sh
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bac20071281..0f152f888f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,5 +72,5 @@ __create_module_targets(TARGETS "module")
__create_module_targets(TEST_TARGETS "test")
# Post installation steps. Need to be the last install(...) call in this file.
-install(CODE "execute_process(COMMAND ${CMAKE_CURRENT_LIST_DIR}/dist/post_install.sh $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX})")
+install(CODE "execute_process(COMMAND ${CMAKE_CURRENT_LIST_DIR}/dist/post_install.sh ${CMAKE_INSTALL_PREFIX})")