]> git.lyx.org Git - features.git/commitdiff
update adrress for msvc deps
authorPeter Kümmel <syntheticpp@gmx.net>
Sat, 26 Nov 2011 10:04:14 +0000 (10:04 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sat, 26 Nov 2011 10:04:14 +0000 (10:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40285 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/CMakeLists.txt

index 35d8a8f6634032a149f2b4df32a3aba4125804e3..20115b261d64ff2407afea34f7bdc48d74983aab 100644 (file)
@@ -109,13 +109,14 @@ if(LYX_DEPENDENCIES_DOWNLOAD)
        message(STATUS)
        set(LYX_DEPENDENCIES_DIR ${CMAKE_BINARY_DIR}/msvc2010-deps)
        message(STATUS "Using downloaded dependencies in ${LYX_DEPENDENCIES_DIR}")
-       set(deps_files lyx20-deps-msvc2010-x86.zip)
+       set(deps_files lyx20-deps-msvc2010.zip)
+       set(deps_server http://downloads.sourceforge.net/project/lyx/Win_installers/Dependencies)
        foreach(it ${deps_files})
                set(already_downloaded already_downloaded-NOTFOUND CACHE PATH "downloaded" FORCE)
                find_file(already_downloaded ${it} "${LYX_DEPENDENCIES_DIR}/download")
                if(NOT already_downloaded)
                        message(STATUS "Downloading ${it} ...")
-                       file(DOWNLOAD ftp://ftp.devel.lyx.org/pub/contrib/windows/${it} ${LYX_DEPENDENCIES_DIR}/download/${it} SHOW_PROGRESS)
+                       file(DOWNLOAD ${deps_server}/${it} ${LYX_DEPENDENCIES_DIR}/download/${it} SHOW_PROGRESS)
                        execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf ${LYX_DEPENDENCIES_DIR}/download/${it}
                                      WORKING_DIRECTORY ${LYX_DEPENDENCIES_DIR})
                endif()