Skip to content

Commit 7cb31f1

Browse files
authored
Fix Windows build issue (#1793)
1 parent 82bc887 commit 7cb31f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libOpenImageIO/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ if (GDCM_FOUND)
147147
endif ()
148148

149149

150+
if (MSVC)
151+
set_property (SOURCE imagebufalgo_pixelmath.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " /bigobj ")
152+
endif ()
150153

151154
if (WIN32)
152155
target_link_libraries (OpenImageIO psapi.lib)

0 commit comments

Comments
 (0)