Remove unintuitive naming in vcpkg_find_acquire_program

This commit is contained in:
atkawa7 2017-05-25 18:04:02 -07:00 committed by GitHub
parent bbe3fc72b4
commit 9884310dbe

View File

@ -84,8 +84,14 @@ function(vcpkg_find_acquire_program VAR)
set(URL "https://github.com/mesonbuild/meson/archive/0.40.1.zip")
set(ARCHIVE "meson-0.40.1.zip")
set(HASH 4c1d07f32d527859f762c34de74d31d569573fc833335ab9652ed38d1f9e64b49869e826527c28a6a07cb8e594fd5c647b34aa95e626236a2707f75df0a2d435)
elseif(VAR MATCHES "WINFLEXBISON")
set(PROGNAME winflexbison)
elseif(VAR MATCHES "FLEX")
set(PROGNAME win_flex)
set(PATHS ${DOWNLOADS}/tools/winflexbison)
set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
set(ARCHIVE "win_flex_bison-2.5.9.zip")
set(HASH 9580f0e46893670a011645947c1becda69909a41a38bb4197fe33bd1ab7719da6b80e1be316f269e1a4759286870d49a9b07ef83afc4bac33232bd348e0bc814)
elseif(VAR MATCHES "BISON")
set(PROGNAME win_bison)
set(PATHS ${DOWNLOADS}/tools/winflexbison)
set(URL "https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.9.zip/download")
set(ARCHIVE "win_flex_bison-2.5.9.zip")