2018-01-30 00:13:09 +08:00
|
|
|
vcpkg_from_github(
|
2020-10-09 13:59:51 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO beltoforion/muparser
|
2022-01-25 07:09:13 +08:00
|
|
|
REF 6d65387be8f4ef329829c6d6ace779b26942e075 # v2.3.3-1
|
|
|
|
SHA512 cda1133b534b1c77d80b15d50d71f372a423fab2bc7b9204d106589350b3cfc955dbfdcfe8c17890e3cfd747b559f4d3c4f0ea6c9c3c73e6aa159afc82bcc6c0
|
2020-10-09 13:59:51 +08:00
|
|
|
HEAD_REF master
|
2018-01-30 00:13:09 +08:00
|
|
|
)
|
|
|
|
|
2022-01-25 07:09:13 +08:00
|
|
|
vcpkg_cmake_configure(
|
2018-01-30 00:13:09 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2022-01-25 07:09:13 +08:00
|
|
|
OPTIONS
|
2020-10-09 13:59:51 +08:00
|
|
|
-DENABLE_SAMPLES=OFF
|
|
|
|
-DENABLE_OPENMP=OFF
|
2018-01-30 00:13:09 +08:00
|
|
|
)
|
|
|
|
|
2022-01-25 07:09:13 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-01-30 00:13:09 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-01-25 07:09:13 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/muparser")
|
|
|
|
|
2018-01-30 00:13:09 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
2022-01-25 07:09:13 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2021-10-28 06:19:28 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|