summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch')
-rw-r--r--meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch b/meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch
new file mode 100644
index 0000000000..1078148d6b
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/assimp/0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch
@@ -0,0 +1,32 @@
1From: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
2Date: Fri, 13 Aug 2021 16:42:48 +0530
3Subject: [PATCH] assimp: remove shared lib from _IMPORT_CHECK_TARGETS
4
5In the target assimp::assimp shared library verification removed
6as it is giving configuration error when used by 3rd part component to
7configure itself using assimp::assimp target
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
12---
13 assimpTargets-release.cmake.in | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/assimpTargets-release.cmake.in b/assimpTargets-release.cmake.in
17index cd2fac7e0..52edc7990 100644
18--- a/assimpTargets-release.cmake.in
19+++ b/assimpTargets-release.cmake.in
20@@ -72,8 +72,8 @@ else()
21 IMPORTED_SONAME_RELEASE "${sharedLibraryName}"
22 IMPORTED_LOCATION_RELEASE "@CMAKE_INSTALL_FULL_LIBDIR@/${sharedLibraryName}"
23 )
24- list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
25- list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "@CMAKE_INSTALL_FULL_LIBDIR@/${sharedLibraryName}" )
26+ #list(APPEND _IMPORT_CHECK_TARGETS assimp::assimp )
27+ #list(APPEND _IMPORT_CHECK_FILES_FOR_assimp::assimp "@CMAKE_INSTALL_FULL_LIBDIR@/${sharedLibraryName}" )
28 else()
29 set(staticLibraryName "libassimp${ASSIMP_LIBRARY_SUFFIX}@CMAKE_STATIC_LIBRARY_SUFFIX@")
30 set_target_properties(assimp::assimp PROPERTIES
31--
322.17.1