Fix T94215: compositer denoise node UI wrongly shows as disabled

After recent refactoring in 4e98d974b5.
This commit is contained in:
Brecht Van Lommel 2021-12-18 05:43:19 +01:00
parent 214a56ce8c
commit 3471b0016c
Notes: blender-bot 2023-02-14 08:06:33 +01:00
Referenced by issue #94215, Denoise node reports error: "Disabled, built without OpenImageDenoise" even when build with OpenImageDenoise
1 changed files with 4 additions and 0 deletions

View File

@ -316,4 +316,8 @@ if(WITH_OPENVDB)
add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS})
endif()
if(WITH_OPENIMAGEDENOISE)
add_definitions(-DWITH_OPENIMAGEDENOISE)
endif()
blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")