early-access version 2853
This commit is contained in:
23
externals/vcpkg/ports/volk/portfile.cmake
vendored
Executable file
23
externals/vcpkg/ports/volk/portfile.cmake
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
# volk is not prepared to be a DLL.
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO zeux/volk
|
||||
REF 1.3.204
|
||||
SHA512 73108aff5bed08f711730948c80070a8d913f2ba2e7886232cd981272fe47bc85cff84eabfdf14d4261c658b58ee098a9bd837222f65323f304d6abcdbeb8613
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DVOLK_INSTALL=ON
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/volk)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
23
externals/vcpkg/ports/volk/vcpkg.json
vendored
Executable file
23
externals/vcpkg/ports/volk/vcpkg.json
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "volk",
|
||||
"version": "1.3.204",
|
||||
"port-version": 1,
|
||||
"description": [
|
||||
"Meta loader for Vulkan API.",
|
||||
"Note that the static library target volk::volk is built without platform-specific defines.",
|
||||
"Use the header-only target volk::volk_headers if you require platform-specific extensions."
|
||||
],
|
||||
"homepage": "https://github.com/zeux/volk",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"vulkan"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user