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:
parent
edde48f578
commit
12aa9b2108
Notes:
blender-bot
2023-02-14 06:27:47 +01:00
Referenced by issue #63678, We failed to build Blender on x86 due to error LNK2005: _log2 already defined in libucrt.lib with MSVC.
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue