From 0c7266881c346ae15f540e0b805ce4a8fd29f064 Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 19 Apr 2024 17:20:35 -0400 Subject: Allow regular users to run NSIS installer --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca611b3..3cda097 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,9 @@ set(CPACK_RESOURCE_FILE_README ${CMAKE_CURRENT_SOURCE_DIR}/README.md) set(CPACK_PACKAGE_CONTACT "Louie Shprung ") set(CPACK_SOURCE_IGNORE_FILES "/\.git.*;/\.cache;/build;/compile_commands\.json$;/config\.h$;/data/assignment-list\.desktop$") +# CPack NSIS configuration +set(CPACK_NSIS_DEFINES "RequestExecutionLevel user") + # CPack Deb configuration set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) if(QT_VERSION_MAJOR VERSION_EQUAL 5) -- cgit