From e8adf326459e4df7ae8aa30ff98894204cc6da65 Mon Sep 17 00:00:00 2001 From: Username404 Date: Tue, 19 Oct 2021 22:07:55 +0200 Subject: [PATCH] Set CPACK_NSIS_IGNORE_LICENSE_PAGE to TRUE in the CMakeLists.txt file --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e5ff684..fc4ad00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,6 +197,8 @@ elseif(MINGW OR MSVC) set(CPACK_NSIS_BRANDING_TEXT "NSIS Installer for the yerbacon compiler") set(CPACK_NSIS_BRANDING_TEXT_TRIM_POSITION CENTER) endif() + # CMake 3.22+ is required to ignore the NSIS license page + set(CPACK_NSIS_IGNORE_LICENSE_PAGE TRUE) set(CPACK_GENERATOR ZIP;NSIS) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin) endif()