mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 17:07:54 +08:00
36 lines
1.0 KiB
CMake
36 lines
1.0 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO projectM-visualizer/projectm-eval
|
|
REF "v${VERSION}"
|
|
SHA512 "ff5abf4c5deb5a665ed116a1a7a56cfaa0acedc6c211b16ef0c118bc1316f256667681c999c31880dd3aa6aec5ab92ce0747c42ba1ab98ac5046b6ef015de935"
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DBUILD_NS_EEL_SHIM=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_BISON=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_FLEX=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME "projectm-eval"
|
|
CONFIG_PATH "lib/cmake/projectM-Eval"
|
|
DO_NOT_DELETE_PARENT_CONFIG_PATH
|
|
)
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME "projectM-EvalMilkdrop"
|
|
CONFIG_PATH "lib/cmake/projectM-EvalMilkdrop"
|
|
)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|