aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-05-25 08:42:01 -0700
committerGitHub <noreply@github.com>2017-05-25 08:42:01 -0700
commitf1bf4276955ef2b1d93b6181bdd89b5af836712f (patch)
tree0f81ca4598d1531db6097f8239af0b395e950216 /scripts/cmake
parente01c52396160747221c70df31d5801272606ce15 (diff)
downloadvcpkg-f1bf4276955ef2b1d93b6181bdd89b5af836712f.tar.gz
vcpkg-f1bf4276955ef2b1d93b6181bdd89b5af836712f.zip
Added Flex and Bison to vcpkg_find_acquire_program
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/vcpkg_find_acquire_program.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake
index 5c8a00ad2..7edfb4628 100644
--- a/scripts/cmake/vcpkg_find_acquire_program.cmake
+++ b/scripts/cmake/vcpkg_find_acquire_program.cmake
@@ -84,6 +84,12 @@ 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)
+ 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)
else()
message(FATAL "unknown tool ${VAR} -- unable to acquire.")
endif()