2022-09-09 02:30:05 +08:00
|
|
|
set(SOURCE_VERSION 1.3.1)
|
2019-10-08 01:35:13 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO dlfcn-win32/dlfcn-win32
|
|
|
|
REF v${SOURCE_VERSION}
|
2022-09-09 02:30:05 +08:00
|
|
|
SHA512 0aa01c49ee8628c42cdc8b9782b4741a36502764d4442227ea4e9a8062356ff17e8eaa3cdd4113009ad7ad2044b6cfd24128319d71825e13062259dd1906e27e
|
2019-10-08 01:35:13 +08:00
|
|
|
HEAD_REF master
|
2017-03-20 01:06:05 +08:00
|
|
|
)
|
|
|
|
|
2022-01-29 03:18:29 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-03-20 01:06:05 +08:00
|
|
|
)
|
|
|
|
|
2022-01-29 03:18:29 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-03-20 01:06:05 +08:00
|
|
|
|
2022-12-07 04:55:10 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2017-03-20 01:06:05 +08:00
|
|
|
|
2022-01-29 03:18:29 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2017-03-20 01:06:05 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2022-01-29 03:18:29 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
|
2020-02-04 06:22:52 +08:00
|
|
|
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
|