Commit 55ee5da3 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

build windows, simplified code curl is available on appveyor

parent cd0e8624
......@@ -247,15 +247,9 @@ add_custom_target(BundleTranslations
COMMENT "If you want to provide a zip of the translations on a server (run make BuildTranslations first)"
)
if($ENV{APPVEYOR})
set(DL_CMD appveyor DownloadFile)
else()
set(DL_CMD wget)
endif()
add_custom_command(
OUTPUT doDlAndInstallBundledTranslations
COMMAND ${DL_CMD} http://gcompris.net/download/translations-${GCOMPRIS_VERSION}.7z
COMMAND curl -fsS -o translations-${GCOMPRIS_VERSION}.7z http://gcompris.net/download/translations-${GCOMPRIS_VERSION}.7z
COMMAND 7z x -y -o${CMAKE_BINARY_DIR}/share/${GCOMPRIS_EXECUTABLE_NAME} translations-${GCOMPRIS_VERSION}.7z
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment