32bit.diff 897 B

1234567891011121314151617181920212223
  1. diff -Naur mitsuba2-4e7628c/ext/CMakeLists.txt mitsuba2-4e7628c.patched/ext/CMakeLists.txt
  2. --- mitsuba2-4e7628c/ext/CMakeLists.txt 2022-03-07 17:07:27.000000000 -0500
  3. +++ mitsuba2-4e7628c.patched/ext/CMakeLists.txt 2022-03-23 00:07:42.901574553 -0400
  4. @@ -223,9 +223,8 @@
  5. # tinyformat include path
  6. set(TINYFORMAT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat PARENT_SCOPE)
  7. -if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|AMD64")
  8. # Build asmjit
  9. - set(ASMJIT_BUILD_X64 TRUE)
  10. + set(ASMJIT_BUILD_X86 TRUE)
  11. if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
  12. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-undefined-inline")
  13. endif()
  14. @@ -235,7 +234,6 @@
  15. if (MSVC)
  16. target_compile_options(asmjit PRIVATE "/wd4804" "/wd4838")
  17. endif()
  18. -endif()
  19. # Disable annoying MSVC warnings in rgb2spec build
  20. if (MSVC)