[re2] Don't pass BUILD_SHARED_LIBS

BUILD_SHARED_LIBS should not be locked to shared/static, because the other type will fail.
Vcpkg was overriding this flag before, so no behavior change. (i.e. static builds worked before as well).
Also tests = OFF.
This commit is contained in:
Alexander Karatarakis 2017-12-04 19:50:23 -08:00
parent 6c42097aef
commit 216f7137b9
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
Source: re2
Version: 2017-12-01
Version: 2017-12-01-1
Description: RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

View File

@ -10,7 +10,7 @@ vcpkg_from_github(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS -DRE2_BUILD_TESTING=1 -DBUILD_SHARED_LIBS=1 -DBUILD_TESTING=1
OPTIONS -DRE2_BUILD_TESTING=OFF
)
vcpkg_install_cmake()