2021-10-28 08:01:45 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO AcademySoftwareFoundation/Imath
|
2024-03-05 17:43:55 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 0bc86bea3a2aca89d02b501b4fba3c13ca861e914cec558e820fe9e4c43ab14cac34e31ff278b8c35b5fe76f7bea32f2c8105c0d33eb92224eb23d42d7a402e9
|
2021-10-28 08:01:45 +02:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DIMATH_INSTALL_SYM_LINK=OFF
|
|
|
|
-DBUILD_TESTING=OFF
|
2023-08-22 05:52:49 +08:00
|
|
|
-DIMATH_INSTALL_PKG_CONFIG=ON
|
2021-10-28 08:01:45 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Imath)
|
2021-11-16 19:26:33 +01:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2021-10-28 08:01:45 +02:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|