CMake: recent removal of linked libs gave errors in some cases

While I can't redo the error, it looks to be related to tbb & mkldnn.

Adding back in this case for now.
This commit is contained in:
Campbell Barton 2019-12-11 20:34:34 +11:00
parent 7f36db35ce
commit 57d2d8ac05
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,12 @@ set(LIB
bf_windowmanager
)
# Note: this should not be needed, but causes issues in some situations:
# See reply to daf290dcc80c.
if(WITH_TBB AND WITH_OPENIMAGEDENOISE)
list(INSERT LIB 0 bf_blenkernel)
endif()
add_definitions(${GL_DEFINITIONS})
blender_include_dirs("${GLEW_INCLUDE_PATH}")