mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 05:19:01 +08:00
f23ebed76f
* [cmake] Update to 3.17.1 * update cmake directory name * [cpuid] Fix install headers. * [stormlib] Fix install headers * [murmurhash] Fix install headers * [metrohash] Fix install headers * update baseline * update baseline * [otl] update hash * update baseline * [gts] Do not use ninja to avoid empty implib issue * update baseline * [dmlc] Re-trigger ci test * [replxx] Re-trigger ci test * update baseline * [osg] Re-trigger ci test * [replxx] Fix build failure * Set cmake min version to 3.17.1 * update baseline * [libnice] Re-trigger ci test * [mlpack] Re-trigger ci test * update to 3.17.2 * update cmake hash * update baseline * update baseline * update baseline * update baseline * Update scripts/ci.baseline.txt Co-authored-by: Billy O'Neal <billy.oneal@gmail.com> * update baseline * update baseline * [magnum] Set magnum:arm64-windows to skip in baseline * [nanogui] Set nanogui:arm64-windows to fail in baseline * [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR * re-trigger CI test * update baseline * Install unixODBC in Linux * [nanodbc] Re-trigger CI test * update baseline * Remove space * update baseline
29 lines
880 B
CMake
29 lines
880 B
CMake
vcpkg_fail_port_install(ON_TARGET "UWP" ON_ARCH "arm" "arm64")
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO anrieff/libcpuid
|
|
REF f2ab8b7ef2c286f619d96c3ce8902cb76b801bf0
|
|
SHA512 fcd2d35994554eed80c04315f1cf3bc91f272a5051dde040fe2266d71af902b60ecfd74b6f9dc8284a22f222208c6789bfb94cc12d61de17d605265d3cd2c43d
|
|
HEAD_REF master
|
|
PATCHES fix-install-headers.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DENABLE_DOCS=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cpuid)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|