aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-05-25 18:04:02 -0700
committerGitHub <noreply@github.com>2017-05-25 18:04:02 -0700
commit9884310dbea5177f697ccee4d722af5fec9a2f63 (patch)
tree84e8835f1916c2b2078994db0a6d480248d7b531
parentbbe3fc72b422fa58d02300cb22930992edd20336 (diff)
downloadvcpkg-9884310dbea5177f697ccee4d722af5fec9a2f63.tar.gz
vcpkg-9884310dbea5177f697ccee4d722af5fec9a2f63.zip
Remove unintuitive naming in vcpkg_find_acquire_program
-rw-r--r--scripts/cmake/vcpkg_find_acquire_program.cmake10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake
index 7edfb4628..127982842 100644
--- a/scripts/cmake/vcpkg_find_acquire_program.cmake
+++ b/scripts/cmake/vcpkg_find_acquire_program.cmake
@@ -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")