Browse Source

Fix NSIS installer installation

master
C. J. Howard 5 years ago
parent
commit
a40284911c
Signed by: cjhoward GPG Key ID: 03E1FABA9C3EC195
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      CMakeLists.txt

+ 2
- 1
CMakeLists.txt View File

@ -186,7 +186,8 @@ elseif(PACKAGE_PLATFORM MATCHES "win")
set(CPACK_GENERATOR "ZIP;NSIS")
add_custom_command(TARGET dist
COMMAND ${CMAKE_COMMAND} -E make_directory ${PACKAGE_DIST_DIR}
COMMAND ${CMAKE_COMMAND} -E copy "${CPACK_PACKAGE_FILE_NAME}-package.zip" "${PACKAGE_DIST_DIR}/${PACKAGE_FILENAME}.zip")
COMMAND ${CMAKE_COMMAND} -E copy "${CPACK_PACKAGE_FILE_NAME}-package.zip" "${PACKAGE_DIST_DIR}/${PACKAGE_FILENAME}.zip"
COMMAND ${CMAKE_COMMAND} -E copy "${CPACK_PACKAGE_FILE_NAME}.exe" "${PACKAGE_DIST_DIR}/${PACKAGE_FILENAME}.exe")
elseif(PACKAGE_PLATFORM MATCHES "osx")
set(CPACK_GENERATOR "ZIP;NSIS")
add_custom_command(TARGET dist

Loading…
Cancel
Save