mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 19:19:01 +08:00
c37cc7836a
* [jack2] Update to 1.9.21 * [libxmlmm] Fix license * [volk] Fix license * [tmxlite] Fix license * [tinyxml2] Fix license * [stb] Fix license * [rtmidi] Fix license * [pugixml] Update to 1.12.1 * [physx] Fix license * [physx] License expression * version * lowercase * null * Format * Remove version-string * stb * Format * version * Format * version * [tinyxml] port version * version * Fix license * version * [rtmidi] remove patch * version * [pugixml] Remove unused variable * version * [physx] Remove from CI baseline for testing * [physx] update supports statement * version * [tmxlite] add final newline * version * [libxmlmm] Don't use own copyright file * version * Fix license copy * version
24 lines
690 B
CMake
24 lines
690 B
CMake
# 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)
|