Fix T63678 Link error of tests with MSVC.

Ideally OCIO removes their log2 implementation from the global namespace
but for now this linker tweak will have to do.
This commit is contained in:
Ray Molenkamp
2019-04-17 07:58:48 -06:00
parent edde48f578
commit 12aa9b2108
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ set(INC
set(LIB
bf_blenloader # Should not be needed but gives linking error without it.
bf_intern_opencolorio # Should not be needed but gives windows linker errors if the ocio libs are linked before this
bf_gpu # Should not be needed but gives windows linker errors if the ocio libs are linked before this
bf_alembic
)

View File

@@ -29,6 +29,8 @@ set(INC
set(LIB
bf_blenloader # Should not be needed but gives linking error without it.
bf_intern_opencolorio # Should not be needed but gives windows linker errors if the ocio libs are linked before this
bf_gpu # Should not be needed but gives windows linker errors if the ocio libs are linked before this
bf_bmesh
)