[fruit] fix wchar.h import issue under Catalina (#9445)

* Issue 9444 fix wchar.h import issue under Catalina

* 9445 apply suggestions from review
This commit is contained in:
Tom Haines 2020-01-03 05:44:54 +08:00 committed by dan-shaw
parent f13fb1c96b
commit 70e7c3e12f
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
Source: fruit
Version: 3.4.0-1
Version: 3.4.0-2
Homepage: https://github.com/google/fruit
Description: Fruit, a dependency injection framework for C++ by Google

View File

@ -1,4 +1,4 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/fruit
@ -13,10 +13,11 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DFRUIT_USES_BOOST=False
-DFRUIT_TESTS_USE_PRECOMPILED_HEADERS=OFF
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/fruit/copyright COPYONLY)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)