MINGW-packages/mingw-w64-opencolorio/0003-fix-python-sitearch.patch
مهدي شينون (Mehdi Chinoune) 200ce59019 opencolorio: update to 2.3.0
2023-10-19 05:42:04 +01:00

12 lines
459 B
Diff

--- a/src/bindings/python/CMakeLists.txt
+++ b/src/bindings/python/CMakeLists.txt
@@ -238,7 +238,7 @@
###############################################################################
# Install layout
# Set to site-package location.
-if(WIN32)
+if(MSVC)
set(_Python_VARIANT_PATH "${CMAKE_INSTALL_LIBDIR}/site-packages")
else()
set(_Python_VARIANT_PATH "${CMAKE_INSTALL_LIBDIR}/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages")