Set CPACK_NSIS_IGNORE_LICENSE_PAGE to TRUE in the CMakeLists.txt file

This commit is contained in:
Username404 2021-10-19 22:07:55 +02:00
parent 7b8b8addd6
commit e8adf32645
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 0 deletions

View File

@ -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()