mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[Libdshowcapture] fix single config builds (#42728)
This commit is contained in:
parent
2892ef50b7
commit
2193822361
@ -13,12 +13,16 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_build(TARGET libdshowcapture)
|
||||
|
||||
# Copy files
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libdshowcapture" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
|
||||
endif()
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
endif()
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(INSTALL "${SOURCE_PATH}/dshowcapture.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libdshowcapture",
|
||||
"version": "0.6.0",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Free and Open Source C++11 Library for capturing DirectShow video/audio devices on windows.",
|
||||
"supports": "windows & !uwp",
|
||||
"dependencies": [
|
||||
|
@ -4466,7 +4466,7 @@
|
||||
},
|
||||
"libdshowcapture": {
|
||||
"baseline": "0.6.0",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"libdvdcss": {
|
||||
"baseline": "1.4.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "df899babb69eb01159e5777fc4d4ef07a1570724",
|
||||
"version": "0.6.0",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "fc1b7753ef4b7e6fc6d6390bc86fe5186ca45a92",
|
||||
"version": "0.6.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user