Set CPACK_NSIS_IGNORE_LICENSE_PAGE to TRUE in the CMakeLists.txt file
This commit is contained in:
parent
7b8b8addd6
commit
e8adf32645
|
@ -197,6 +197,8 @@ elseif(MINGW OR MSVC)
|
||||||
set(CPACK_NSIS_BRANDING_TEXT "NSIS Installer for the yerbacon compiler")
|
set(CPACK_NSIS_BRANDING_TEXT "NSIS Installer for the yerbacon compiler")
|
||||||
set(CPACK_NSIS_BRANDING_TEXT_TRIM_POSITION CENTER)
|
set(CPACK_NSIS_BRANDING_TEXT_TRIM_POSITION CENTER)
|
||||||
endif()
|
endif()
|
||||||
|
# CMake 3.22+ is required to ignore the NSIS license page
|
||||||
|
set(CPACK_NSIS_IGNORE_LICENSE_PAGE TRUE)
|
||||||
set(CPACK_GENERATOR ZIP;NSIS)
|
set(CPACK_GENERATOR ZIP;NSIS)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue