diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2017-11-21 00:41:50 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 00:41:50 -0800 |
| commit | 7604a246daab900b7472828fdac32f021c1b1ae3 (patch) | |
| tree | 74e6996e2597f742018668a13da254bfffcf387c | |
| parent | 786d53c002c044e9340e43070b393d69e14e78be (diff) | |
| parent | 7fc2d7dbdf81b05905f4121fd52aa68234024c43 (diff) | |
| download | vcpkg-7604a246daab900b7472828fdac32f021c1b1ae3.tar.gz vcpkg-7604a246daab900b7472828fdac32f021c1b1ae3.zip | |
Merge pull request #2227 from fquinner/feature-add-tool-scons
Added SCONS to vcpkg_find_acquire_program
| -rw-r--r-- | scripts/cmake/vcpkg_find_acquire_program.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake index e6a37e328..066126e6c 100644 --- a/scripts/cmake/vcpkg_find_acquire_program.cmake +++ b/scripts/cmake/vcpkg_find_acquire_program.cmake @@ -148,6 +148,14 @@ function(vcpkg_find_acquire_program VAR) set(URL "https://github.com/wixtoolset/wix3/releases/download/wix311rtm/wix311-binaries.zip") set(ARCHIVE "wix311-binaries.zip") set(HASH 74f0fa29b5991ca655e34a9d1000d47d4272e071113fada86727ee943d913177ae96dc3d435eaf494d2158f37560cd4c2c5274176946ebdb17bf2354ced1c516) + elseif(VAR MATCHES "SCONS") + set(PROGNAME scons) + set(REQUIRED_INTERPRETER PYTHON2) + set(SCRIPTNAME "scons.py") + set(PATHS ${DOWNLOADS}/tools/scons) + set(URL "https://sourceforge.net/projects/scons/files/scons-local-3.0.1.zip/download") + set(ARCHIVE "scons-local-3.0.1.zip") + set(HASH fe121b67b979a4e9580c7f62cfdbe0c243eba62a05b560d6d513ac7f35816d439b26d92fc2d7b7d7241c9ce2a49ea7949455a17587ef53c04a5f5125ac635727) else() message(FATAL "unknown tool ${VAR} -- unable to acquire.") endif() |
