Do not overwrite ImportExecutables-None.cmake during build
authorTimo Röhling <roehling@debian.org>
Thu, 22 Jun 2023 08:58:27 +0000 (10:58 +0200)
committerTimo Röhling <roehling@debian.org>
Thu, 22 Jun 2023 08:58:34 +0000 (10:58 +0200)
debian/patches/0020-Do-not-overwrite-debianized-ImportExecutables.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0020-Do-not-overwrite-debianized-ImportExecutables.patch b/debian/patches/0020-Do-not-overwrite-debianized-ImportExecutables.patch
new file mode 100644 (file)
index 0000000..30bc4a8
--- /dev/null
@@ -0,0 +1,24 @@
+From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
+Date: Thu, 22 Jun 2023 10:57:51 +0200
+Subject: Do not overwrite debianized ImportExecutables
+
+Forwarded: not-needed
+---
+ CMakeLists.txt | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 632ece6..05c605d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -671,10 +671,6 @@ if (IS_HOST_PLATFORM)
+     add_subdirectory(${TOOLS}/specular-color)
+ endif()
+-# Generate exported executables for cross-compiled builds (Android, WebGL, and iOS)
+-if (NOT CMAKE_CROSSCOMPILING)
+-    export(TARGETS matc cmgen filamesh mipgen resgen glslminifier FILE ${IMPORT_EXECUTABLES})
+-endif()
+ include(CMakePackageConfigHelpers)
+ configure_package_config_file(debian/cmake/package-config.cmake.in filamentConfig.cmake
index 2562e09e8147997b12de28ec71b0c4e134654359..aa9e61625300883ea12966a9c650bb22440c820b 100644 (file)
@@ -17,3 +17,4 @@
 0017-Fix-TBuiltInResource-struct.patch
 0018-Fix-compatibility-with-spirv-cross-SDK-1.3.236.patch
 0019-Fix-build-with-gcc-13.patch
+0020-Do-not-overwrite-debianized-ImportExecutables.patch