mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:19:00 +08:00
[dlfcn-win32] Fix install failure when build type is set to release (#28172)
* [dlfcn-win32] Fix install failure when build type is set to release * [dlfcn-win32] Update port version * [dlfcn-win32] Use vcpkg_fixup_cmake_targets * [dlfcn-win32] Update port version * [dlfcn-win32] Use vcpkg_cmake_config_fixup instead deprecated vcpkg_fixup_cmake_targets * [dlfcn-win32] Update port version
This commit is contained in:
parent
942b65939d
commit
9792dd9e15
@ -14,16 +14,12 @@ vcpkg_cmake_configure(
|
|||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
file(READ "${CURRENT_PACKAGES_DIR}/debug/share/dlfcn-win32/dlfcn-win32-targets-debug.cmake" dlfcn-win32_DEBUG_MODULE)
|
vcpkg_cmake_config_fixup()
|
||||||
string(REPLACE "\${_IMPORT_PREFIX}" "\${_IMPORT_PREFIX}/debug" dlfcn-win32_DEBUG_MODULE "${dlfcn-win32_DEBUG_MODULE}")
|
|
||||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/dlfcn-win32/dlfcn-win32-targets-debug.cmake" "${dlfcn-win32_DEBUG_MODULE}")
|
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
|
||||||
|
|
||||||
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
|
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "dlfcn-win32",
|
"name": "dlfcn-win32",
|
||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
|
"port-version": 1,
|
||||||
"description": "dlfcn-win32 is an implementation of dlfcn for Windows.",
|
"description": "dlfcn-win32 is an implementation of dlfcn for Windows.",
|
||||||
"homepage": "https://github.com/dlfcn-win32/dlfcn-win32",
|
"homepage": "https://github.com/dlfcn-win32/dlfcn-win32",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -9,6 +10,10 @@
|
|||||||
{
|
{
|
||||||
"name": "vcpkg-cmake",
|
"name": "vcpkg-cmake",
|
||||||
"host": true
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1982,7 +1982,7 @@
|
|||||||
},
|
},
|
||||||
"dlfcn-win32": {
|
"dlfcn-win32": {
|
||||||
"baseline": "1.3.1",
|
"baseline": "1.3.1",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"dlib": {
|
"dlib": {
|
||||||
"baseline": "19.24",
|
"baseline": "19.24",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "39fcef74b0e249a6e49b28eb8b4be8d1f6bc3d54",
|
||||||
|
"version": "1.3.1",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "eefd0e5c4b4d59e8bfb88842e9562115cb77d078",
|
"git-tree": "eefd0e5c4b4d59e8bfb88842e9562115cb77d078",
|
||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user