early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/font-chef/disable-warnings-as-errors.patch
vendored
Executable file
12
externals/vcpkg/ports/font-chef/disable-warnings-as-errors.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/font-chef/CMakeLists.txt b/src/font-chef/CMakeLists.txt
|
||||
--- a/src/font-chef/CMakeLists.txt
|
||||
+++ b/src/font-chef/CMakeLists.txt
|
||||
@@ -68,7 +68,7 @@ target_include_directories(font-chef++ INTERFACE
|
||||
if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
|
||||
target_compile_options(font-chef PRIVATE
|
||||
$<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:GNU>>:-Wall -Wextra -pedantic -fvisibility=hidden -Werror>
|
||||
- $<$<C_COMPILER_ID:MSVC>:/W3 /WX /wd4820 /wd4668 /wd4204>
|
||||
+ $<$<C_COMPILER_ID:MSVC>:/W3 /wd4820 /wd4668 /wd4204>
|
||||
)
|
||||
endif()
|
||||
|
||||
24
externals/vcpkg/ports/font-chef/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/font-chef/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mobius3/font-chef
|
||||
REF v1.1.0
|
||||
SHA512 3df1e31e4405bcbb05ffed8fe618eb953498389adef3d83d337ac570644008bee031e08cd64382443ad123c4abf7e0acca5e3e16288caf6225672d6796a9494f
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
disable-warnings-as-errors.patch # to workaround https://github.com/mobius3/font-chef/issues/3
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
16
externals/vcpkg/ports/font-chef/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/font-chef/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "font-chef",
|
||||
"version": "1.1.0",
|
||||
"description": "A font cooking library",
|
||||
"homepage": "https://github.com/mobius3/font-chef",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user