From d6d2d79701918b71aba341e50018d063029c4d57 Mon Sep 17 00:00:00 2001 From: rude Date: Wed, 27 Nov 2013 00:51:27 +0100 Subject: [PATCH] Turn off CPACK_NSIS_MODIFY_PATH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turning this on inserts a page in the installer which gives the user the option of adding LÖVE to PATH, except it doesn't really work, even if the user opts that it should happen. In that case, it's better to not give the user a choice at all, and disable the whole thing. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0dc65f01..be7787e7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1160,7 +1160,7 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/license.txt") set(CPACK_NSIS_EXECUTABLES_DIRECTORY .) set(CPACK_NSIS_PACKAGE_NAME "LÖVE") set(CPACK_NSIS_DISPLAY_NAME "LÖVE ${LOVE_VERSION_STR}") -set(CPACK_NSIS_MODIFY_PATH ON) +set(CPACK_NSIS_MODIFY_PATH OFF) if(LOVE_X64) set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")