diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-11-06 11:16:02 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-11-06 11:16:02 +0000 |
commit | 0b98a66baae83056401a0a5fef5dc5cd2ed3468b (patch) | |
tree | 1b2b9fe5f940cbdf0cba123ca1739a3e06b2c012 /script | |
parent | 8233f6e36d8827986e1baeff4b7b4daa2cce46f4 (diff) | |
download | libgit2-0b98a66baae83056401a0a5fef5dc5cd2ed3468b.tar.gz |
appveyor: build examples
By default, CMake will not build our examples directory. As we do not
instruct either the MinGW or MSVC builds on AppVeyor to enable building
these examples, we cannot verify that those examples at least build on
Windows systems.
Fix that by passing `-DBUILD_EXAMPLES=ON` to AppVeyor's CMake
invocation.
Diffstat (limited to 'script')
-rwxr-xr-x | script/appveyor-mingw.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/appveyor-mingw.sh b/script/appveyor-mingw.sh index d171a72d5..6b2a9425e 100755 --- a/script/appveyor-mingw.sh +++ b/script/appveyor-mingw.sh @@ -19,5 +19,5 @@ fi cd build gcc --version cmake --version -cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$GENERATOR" +cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON -D BUILD_EXAMPLES=ON .. -G"$GENERATOR" cmake --build . --config RelWithDebInfo |