2020-08-22 00:48:38 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO divideconcept/FluidLite
|
2023-04-20 01:33:25 +04:00
|
|
|
REF d59d2328818f913b7d1a6a59aed695c47a8ce388
|
|
|
|
SHA512 d08ddd0b61dc16c26e5ebc8e54e2efef163f8d0b4da6ce4a040b49756feb105220d48ec6238568b00c68dfa244fac0ab53e3c59c066d4b92dc248df3715c388c
|
|
|
|
PATCHES
|
|
|
|
fix-dependencies.patch
|
2020-08-22 00:48:38 +02:00
|
|
|
)
|
|
|
|
|
2023-04-20 01:33:25 +04:00
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
sf3 ENABLE_SF3
|
|
|
|
)
|
2020-08-22 00:48:38 +02:00
|
|
|
|
2022-12-27 09:43:27 +01:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-08-22 00:48:38 +02:00
|
|
|
OPTIONS
|
2023-04-20 01:33:25 +04:00
|
|
|
${FEATURE_OPTIONS}
|
2020-08-22 00:48:38 +02:00
|
|
|
)
|
|
|
|
|
2022-12-27 09:43:27 +01:00
|
|
|
vcpkg_cmake_install()
|
2023-04-20 01:33:25 +04:00
|
|
|
vcpkg_cmake_config_fixup(
|
|
|
|
PACKAGE_NAME fluidlite
|
|
|
|
CONFIG_PATH lib/cmake/fluidlite
|
|
|
|
)
|
|
|
|
|
2022-12-27 09:43:27 +01:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-08-22 00:48:38 +02:00
|
|
|
|
2023-04-20 01:33:25 +04:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
2021-10-28 00:19:28 +02:00
|
|
|
|
2022-12-27 09:43:27 +01:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|