mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[freetype] fix DLL install on Windows (#5354)
* [wip] fix DLL install on Windows * change patchfile encoding to UTF-8
This commit is contained in:
parent
477ba33fbf
commit
349d82eeca
13
ports/freetype/0004-Fix-DLL-install.patch
Normal file
13
ports/freetype/0004-Fix-DLL-install.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index fe9bc65..dd8a878 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -478,6 +478,8 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||
EXPORT freetype-targets
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
+# DLL is RUNTIME
|
||||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
FRAMEWORK DESTINATION Library/Frameworks
|
||||
COMPONENT libraries)
|
||||
install(
|
@ -1,4 +1,4 @@
|
||||
Source: freetype
|
||||
Version: 2.9.1
|
||||
Version: 2.9.1-1
|
||||
Build-Depends: zlib, bzip2, libpng
|
||||
Description: A library to render fonts.
|
||||
|
@ -14,6 +14,7 @@ vcpkg_extract_source_archive_ex(
|
||||
0001-Fix-install-command.patch
|
||||
0002-Add-CONFIG_INSTALL_PATH-option.patch
|
||||
0003-Fix-UWP.patch
|
||||
0004-Fix-DLL-install.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
Loading…
x
Reference in New Issue
Block a user