diff options
Diffstat (limited to 'lib/download_dependencies.sh')
-rwxr-xr-x | lib/download_dependencies.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/download_dependencies.sh b/lib/download_dependencies.sh index 369c514..8217dd7 100755 --- a/lib/download_dependencies.sh +++ b/lib/download_dependencies.sh @@ -1,6 +1,12 @@ #!/bin/sh # Download and unzip googletest -wget https://googletest.googlecode.com/files/gtest-1.7.0.zip -unzip gtest-1.7.0.zip +if [ ! -e gtest-1.7.0.zip ]; then + wget https://googletest.googlecode.com/files/gtest-1.7.0.zip + unzip gtest-1.7.0.zip +fi +# Download utf8-cpp (header only library) +if [ ! -e utf8cpp ]; then + svn checkout svn://svn.code.sf.net/p/utfcpp/code/v2_0/source utf8cpp +fi |