diff options
Diffstat (limited to 'build_files/cmake/Modules')
-rw-r--r-- | build_files/cmake/Modules/GTestTesting.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/Modules/GTestTesting.cmake b/build_files/cmake/Modules/GTestTesting.cmake index c9f62906ae0..3f3aa4f374b 100644 --- a/build_files/cmake/Modules/GTestTesting.cmake +++ b/build_files/cmake/Modules/GTestTesting.cmake @@ -46,6 +46,9 @@ macro(BLENDER_SRC_GTEST_EX) # that it is initialized before MKL and static library initialization order # issues are avoided. target_link_libraries(${TARGET_NAME} ${TBB_LIBRARIES}) + if(WITH_OPENIMAGEDENOISE) + target_link_libraries(${TARGET_NAME} ${OPENIMAGEDENOISE_LIBRARIES}) + endif() endif() target_link_libraries(${TARGET_NAME} bf_testing_main |