NSIS: misc fixes [wip] (#3300)

NSIS: misc fixes
This commit is contained in:
ctrlaltca 2018-06-25 18:34:58 +02:00 committed by GitHub
parent 87eb132af1
commit dc727cb620
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 11 deletions

View file

@ -210,6 +210,11 @@ if(UNIX)
endif()
elseif(WIN32)
set(CPACK_GENERATOR NSIS ${CPACK_GENERATOR})
if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64)")
set(TRICE_IS_64_BIT 1)
else()
set(TRICE_IS_64_BIT 0)
endif()
# Configure file with custom definitions for NSIS.
configure_file(