Skip to content

Commit

Permalink
Release mode building isn't working for assetimport library due to th…
Browse files Browse the repository at this point in the history
…is line.
  • Loading branch information
starseeker committed Mar 6, 2024
1 parent c6ca100 commit 6ca530c
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions assetimport/assetimport.patch
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,22 @@ diff -Naur assimp/cmake-modules/FindZLIB.cmake assimp_BLD/cmake-modules/FindZLIB
+ INTERFACE_INCLUDE_DIRECTORIES "${ZLIB_INCLUDE_DIRS}")
+ endif()
+endif()
diff -Naur assimp/code/CMakeLists.txt assimp_BLD/code/CMakeLists.txt
--- assimp/code/CMakeLists.txt 2023-09-20 21:22:27.813575948 -0400
+++ assimp_BLD/code/CMakeLists.txt 2023-09-23 11:28:29.116406490 -0400
@@ -898,17 +898,18 @@
diff -Naur assimp/code/AssetLib/MDL/MDLFileData.h ASSETIMPORT_BLD/code/AssetLib/MDL/MDLFileData.h
--- assimp/code/AssetLib/MDL/MDLFileData.h 2024-03-06 16:18:12.369764492 -0500
+++ ASSETIMPORT_BLD/code/AssetLib/MDL/MDLFileData.h 2024-03-06 16:18:36.229358252 -0500
@@ -876,7 +876,7 @@
: apcOutBones(),
iNum()
{
- abNeedMaterials.reserve(10);
+ //abNeedMaterials.reserve(10);
}

//! Destruction: properly delete all allocated resources
diff -Naur assimp/code/CMakeLists.txt ASSETIMPORT_BLD/code/CMakeLists.txt
--- assimp/code/CMakeLists.txt 2024-03-06 16:18:12.377764357 -0500
+++ ASSETIMPORT_BLD/code/CMakeLists.txt 2024-03-06 16:15:11.452846911 -0500
@@ -906,17 +906,18 @@
SOURCE_GROUP( Extra FILES ${Extra_SRCS})

# pugixml
Expand Down

0 comments on commit 6ca530c

Please sign in to comment.