mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 10:28:59 +08:00
40ec948687
* Fix exported Imath dependency * Drop unused deps from patches and config * Handle DLL import in installed header * Fix non-required find_package(OpenColorIO) * Omit unrelocatable script * Installation cleanup * Update to 2.1.2 * Fix exported pc file * Update versions * Silence warning * Update versions * OpenImageIO features CI test * Consolidate patches * Revise OpenJPEG patching * Revise PNG patching * Revise libheif patching * Revise libsquish patching * Revise ffmpeg patching * Fix static ffmpeg linking * Fix webp usage * More dependency control * Misc cleanup * Update copyright, add usage * Move config to share/openimageio * Trim dependencies * Revise opencv dependency * Remove find modules which might clash with opencv * Use opencolorio config and target * Update openimageio to 2.3.17.0 * LINKSTATIC breaks CRT lib linkage * Catch Imath version conflicts. This is not a regression but the result of previous opencolorio changes. It will eventually be resolved by upgrading openexr. * Remove llvm from opencv CI test port [skip actions] * [libheif] Fix symbol export * [skip actions] * Update versions * Add baseline =pass entries. Co-authored-by: Billy O'Neal <bion@microsoft.com>
19 lines
626 B
Diff
19 lines
626 B
Diff
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
|
|
index dc260a7..433ffbb 100644
|
|
--- a/src/python/CMakeLists.txt
|
|
+++ b/src/python/CMakeLists.txt
|
|
@@ -6,6 +6,13 @@
|
|
checked_find_package (pybind11 REQUIRED
|
|
VERSION_MIN 2.4.2)
|
|
|
|
+if(USE_FFMPEG AND UNIX AND NOT BUILD_SHARED_LIBS AND VCPKG_CRT_LINKAGE STREQUAL "dynamic")
|
|
+ include(CheckLinkerFlag)
|
|
+ check_linker_flag(C "LINKER:-Bsymbolic" supports_bsymbolic)
|
|
+ if(supports_bsymbolic)
|
|
+ add_link_options("LINKER:-Bsymbolic")
|
|
+ endif()
|
|
+endif()
|
|
|
|
file (GLOB python_srcs *.cpp)
|
|
setup_python_module (TARGET PyOpenImageIO
|