mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 00:19:01 +08:00
aac6b3ca80
* Update to version 9.6.0 * add eigen dependency to vcpkg.json * Update ports/vowpal-wabbit * run x-add-version * Change eigen to eigen3 * Run x-add-version * Update hash * x-add-version * Update cmake patch * x-add-version
33 lines
1.1 KiB
CMake
33 lines
1.1 KiB
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO VowpalWabbit/vowpal_wabbit
|
|
REF 16e9114f41343eed0a5f3f9881b171ce4ea6774a
|
|
SHA512 a9244c9791d672f57e06cafc0de753c307976f35f975b6f17ac0e5f8f773f4236674232afada015cd47c4ee2e4d0f550680251772693d4abf2b525dd9b3617f5
|
|
HEAD_REF master
|
|
PATCHES cmake_remove_bin_targets.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DVW_INSTALL=ON
|
|
-DRAPIDJSON_SYS_DEP=ON
|
|
-DFMT_SYS_DEP=ON
|
|
-DSPDLOG_SYS_DEP=ON
|
|
-DVW_BOOST_MATH_SYS_DEP=ON
|
|
-DVW_ZLIB_SYS_DEP=ON
|
|
-DVW_EIGEN_SYS_DEP=ON
|
|
-DVW_BUILD_VW_C_WRAPPER=OFF
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/VowpalWabbit)
|
|
vcpkg_fixup_pkgconfig()
|