diff options
| author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-06-03 15:22:16 +0200 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-06-04 08:12:37 +0100 |
| commit | 19e9e0755e2f8e0a17ba98b3b14eaf27cdb0e3f5 (patch) | |
| tree | b1a41713a4c79d4d0b92d8675475ed2364fc3d03 /dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch | |
| parent | ef05fb48597a890fe15a75f1b78a179e2fe2e8d9 (diff) | |
| download | gentoo-19e9e0755e2f8e0a17ba98b3b14eaf27cdb0e3f5.tar.gz gentoo-19e9e0755e2f8e0a17ba98b3b14eaf27cdb0e3f5.tar.bz2 gentoo-19e9e0755e2f8e0a17ba98b3b14eaf27cdb0e3f5.zip | |
dev-libs/imath: add 3.11.1-r1 fix cmake files
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch')
| -rw-r--r-- | dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch b/dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch new file mode 100644 index 000000000000..3e5c4d59946c --- /dev/null +++ b/dev-libs/imath/files/imath-3.1.11-fix_cmake_module_export.patch @@ -0,0 +1,22 @@ +From 0f7f9f9f32ea178d474325ec1b2576a790e336a1 Mon Sep 17 00:00:00 2001 +From: Lucas Miller <lmiller@imageworks.com> +Date: Wed, 1 May 2024 13:51:30 -0700 +Subject: [PATCH] Address Issue #395 where packages that need to link against + PyImath can no longer find it. + +--- + src/python/config/ModuleDefine.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/python/config/ModuleDefine.cmake b/src/python/config/ModuleDefine.cmake +index adee61c8..b4063623 100644 +--- a/src/python/config/ModuleDefine.cmake ++++ b/src/python/config/ModuleDefine.cmake +@@ -55,6 +55,7 @@ function(PYIMATH_ADD_LIBRARY_PRIV libname) + add_library(${PROJECT_NAME}::${libname} ALIAS ${libname}) + + install(TARGETS ${libname} ++ EXPORT ${PROJECT_NAME} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} |
