mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 02:19:01 +08:00
2017886818
- Setup and use pkg-config for ffmpeg dependencies. https://github.com/microsoft/vcpkg/pull/38011#discussion_r1623174355. - Export actual c++ link libraries for fdk-aac via pkg-config. (Same pattern as lerc, geos.) - Rectify link libraries in pkg-config for alsa, libsrt, snappy, x265. - Burn-in dllimport for libsrt and x265. - Pass detected STRIP to ffmpeg. Fixes https://github.com/microsoft/vcpkg/issues/36852.
19 lines
549 B
Diff
19 lines
549 B
Diff
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
|
|
index d6f0e3e..11512ff 100755
|
|
--- a/source/CMakeLists.txt
|
|
+++ b/source/CMakeLists.txt
|
|
@@ -582,9 +582,13 @@ endif()
|
|
if(SVTHEVC_FOUND)
|
|
target_link_libraries(x265-static ${SVT_HEVC_LIBRARY})
|
|
endif()
|
|
+if(ENABLE_SHARED)
|
|
+ set_target_properties(x265-static PROPERTIES EXCLUDE_FROM_ALL 1)
|
|
+else()
|
|
install(TARGETS x265-static
|
|
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
|
|
ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
|
|
+endif()
|
|
|
|
if(ENABLE_HDR10_PLUS)
|
|
install(TARGETS hdr10plus-static
|