mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[arrayfire] Fix usage (#26782)
* [arrayfire] Fix usage * version * Add double quotes * version
This commit is contained in:
parent
8d3aa2bbf6
commit
6ff1bfa059
@ -45,7 +45,6 @@ set(AF_DEFAULT_VCPKG_CMAKE_FLAGS
|
||||
-DAF_CPU_THREAD_PATH=${CPU_THREADS_PATH} # for building the arrayfire cpu threads lib
|
||||
-DAF_FORGE_PATH=${FORGE_PATH} # forge headers for building the graphics lib
|
||||
-DAF_BUILD_FORGE=OFF
|
||||
-DAF_INSTALL_CMAKE_DIR=${CURRENT_PACKAGES_DIR}/share/${PORT} # for CMake configs/targets
|
||||
)
|
||||
|
||||
# bin/dll directory for Windows non-static builds for the unified backend dll
|
||||
@ -74,6 +73,10 @@ vcpkg_cmake_configure(
|
||||
OPTIONS
|
||||
${AF_DEFAULT_VCPKG_CMAKE_FLAGS}
|
||||
${AF_BACKEND_FEATURE_OPTIONS}
|
||||
OPTIONS_DEBUG
|
||||
-DAF_INSTALL_CMAKE_DIR="${CURRENT_PACKAGES_DIR}/debug/share/${PORT}" # for CMake configs/targets
|
||||
OPTIONS_RELEASE
|
||||
-DAF_INSTALL_CMAKE_DIR="${CURRENT_PACKAGES_DIR}/share/${PORT}" # for CMake configs/targets
|
||||
MAYBE_UNUSED_VARIABLES
|
||||
AF_CPU_THREAD_PATH
|
||||
)
|
||||
@ -81,6 +84,8 @@ vcpkg_cmake_install()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/examples")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "arrayfire",
|
||||
"version-semver": "3.8.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "ArrayFire is a general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices.",
|
||||
"homepage": "https://github.com/arrayfire/arrayfire",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9ce1cae30cfcfd85b9858f5f46a59136cce97e59",
|
||||
"version-semver": "3.8.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "137eb0d15f469e75ad3255cf1de871d83b3dff49",
|
||||
"version-semver": "3.8.0",
|
||||
|
@ -182,7 +182,7 @@
|
||||
},
|
||||
"arrayfire": {
|
||||
"baseline": "3.8.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"arrow": {
|
||||
"baseline": "9.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user