From 0e517c286a4633e787304856eddd587caa5e297c Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Mon, 1 Jul 2024 22:56:07 -0300 Subject: [PATCH] windows installer: enable option to add love to the user's PATH resolves #883 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ca84721c..327f44ba3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2113,7 +2113,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") set(CPACK_NSIS_EXECUTABLES_DIRECTORY .) set(CPACK_NSIS_PACKAGE_NAME "LOVE") set(CPACK_NSIS_DISPLAY_NAME "LOVE ${LOVE_VERSION_STR}") - set(CPACK_NSIS_MODIFY_PATH OFF) + set(CPACK_NSIS_MODIFY_PATH ON) if(LOVE_X64) set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")