[alsa,fdk-aac,ffmpeg,libsrt,snappy,x265] Code cleanup, fix and use pkg-config (#39077)
- 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.
2024-06-06 09:48:31 +02:00
|
|
|
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
|
|
|
|
index 11512ff..9ac8057 100755
|
|
|
|
--- a/source/CMakeLists.txt
|
|
|
|
+++ b/source/CMakeLists.txt
|
|
|
|
@@ -603,7 +603,7 @@ if(SVTHEVC_FOUND)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
|
|
|
|
-if((WIN32 AND ENABLE_CLI) OR (WIN32 AND ENABLE_SHARED))
|
|
|
|
+if(0)
|
|
|
|
if(MSVC_IDE)
|
|
|
|
install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
|
|
|
|
install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
|