[appveyor] fix artifact name?
@@ -604,8 +604,8 @@ if (WIN32)
)
endif()
-include(CPack)
-
if (DEFINED ENV{APPVEYOR_REPO_COMMIT})
- set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-$ENV{APPVEYOR_REPO_COMMIT}-${CPACK_SYSTEM_NAME})
+ set(CPACK_PACKAGE_VERSION $ENV{APPVEYOR_REPO_COMMIT})
endif()
+
+include(CPack)
