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