mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 23:19:06 +08:00
26 lines
740 B
CMake
26 lines
740 B
CMake
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO rafat/wavelib
|
||
|
REF c7c9ba8b1091610a678b2091ae4edba740fe83a7
|
||
|
SHA512 16f24288e410732cd7a2744e0039f93ddb435c6aaa59fde169f117e5536e5f452f0e78edc75ad725b18f9e16b34870c3a100c32c84399a004eb443ba0030f758
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_configure_cmake(
|
||
|
SOURCE_PATH ${SOURCE_PATH}
|
||
|
DISABLE_PARALLEL_CONFIGURE
|
||
|
PREFER_NINJA
|
||
|
OPTIONS
|
||
|
-DBUILD_UT=OFF
|
||
|
)
|
||
|
|
||
|
vcpkg_install_cmake()
|
||
|
|
||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
||
|
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||
|
|
||
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|