2019-06-15 01:23:54 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2019-07-10 14:15:18 +08:00
|
|
|
set(RAQM_VERSION_MAJOR 0)
|
2023-10-21 00:37:19 +08:00
|
|
|
set(RAQM_VERSION_MINOR 10)
|
|
|
|
set(RAQM_VERSION_MICRO 1)
|
2019-07-10 14:15:18 +08:00
|
|
|
|
2019-06-15 01:23:54 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO HOST-Oman/libraqm
|
2019-07-10 14:15:18 +08:00
|
|
|
REF v${RAQM_VERSION_MAJOR}.${RAQM_VERSION_MINOR}.${RAQM_VERSION_MICRO}
|
2023-10-21 00:37:19 +08:00
|
|
|
SHA512 d35fd37764c153235ad89721be7a2a11212c1d3241383d81499ca5fe83e90d625e29e42a00edd626bff78bd0f72209f36826c84f59cd1504258079ed532329b6
|
2019-06-15 01:23:54 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-04-05 06:49:20 +08:00
|
|
|
file(COPY "${CURRENT_PORT_DIR}/FindFribidi.cmake" DESTINATION "${SOURCE_PATH}")
|
|
|
|
file(COPY "${CURRENT_PORT_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2019-06-15 01:23:54 +08:00
|
|
|
|
2022-02-04 02:58:19 +08:00
|
|
|
vcpkg_cmake_configure(
|
2019-06-15 01:23:54 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DCURRENT_PACKAGES_DIR=${CURRENT_PACKAGES_DIR}
|
2019-07-10 14:15:18 +08:00
|
|
|
-DRAQM_VERSION_MAJOR=${RAQM_VERSION_MAJOR}
|
|
|
|
-DRAQM_VERSION_MINOR=${RAQM_VERSION_MINOR}
|
|
|
|
-DRAQM_VERSION_MICRO=${RAQM_VERSION_MICRO}
|
2019-06-15 01:23:54 +08:00
|
|
|
)
|
|
|
|
|
2022-02-04 02:58:19 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-06-15 01:23:54 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
# Handle copyright
|
2023-04-05 06:49:20 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
|
|
|
|