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