diff --git a/CMakeLists.txt b/CMakeLists.txt index de4bab3..7a989e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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