Skip to content

Commit

Permalink
[vcpkg_common_definitions] Add uwp libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Oct 8, 2020
1 parent be1503f commit caa2c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/ffmpeg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ endif()

vcpkg_copy_pdbs()

vcpkg_fixup_pkgconfig(IGNORE_FLAGS "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/lib/pkgconfig/../../lib" "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/../../lib" "-Wl,--no-undefined" "-Wl,--enable-new-dtags" "-framework AudioToolbox" "-framework VideoToolbox" "-framework CoreFoundation" "-framework CoreMedia" "-framework CoreVideo" "-framework CoreServices" "-framework Foundation" "-framework AVFoundation" "-framework CoreGraphics" "-framework OpenGL" "-framework CoreImage" "-framework AppKit")
vcpkg_fixup_pkgconfig(IGNORE_FLAGS "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/lib/pkgconfig/../../lib" "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/../../lib" "-Wl,--no-undefined" "-Wl,--enable-new-dtags" "-framework AudioToolbox" "-framework VideoToolbox" "-framework CoreFoundation" "-framework CoreMedia" "-framework CoreVideo" "-framework CoreServices" "-framework Foundation" "-framework AVFoundation" "-framework CoreGraphics" "-framework OpenGL" "-framework CoreImage" "-framework AppKit" "-Wl,-framework,CoreFoundation" "-Wl,-framework,Security")

# Handle copyright
file(STRINGS ${CURRENT_BUILDTREES_DIR}/build-${TARGET_TRIPLET}-rel-out.log LICENSE_STRING REGEX "License: .*" LIMIT_COUNT 1)
Expand Down
1 change: 1 addition & 0 deletions scripts/cmake/vcpkg_common_definitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND VCPKG_SYSTEM_LIBRARIES Bcrypt)
list(APPEND VCPKG_SYSTEM_LIBRARIES Cfgmgr32)
list(APPEND VCPKG_SYSTEM_LIBRARIES Crypt32)
list(APPEND VCPKG_SYSTEM_LIBRARIES D3d11)
list(APPEND VCPKG_SYSTEM_LIBRARIES Dinput8)
list(APPEND VCPKG_SYSTEM_LIBRARIES Dxgi)
list(APPEND VCPKG_SYSTEM_LIBRARIES Gdi32)
Expand Down

0 comments on commit caa2c49

Please sign in to comment.