You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find_package(OpenImageDenoise "${MIN_OpenImageDenoise_VERSION}" QUIET)
target_link_libraries(${TARGET_NAME} PUBLIC
$<$BOOL:${OpenImageDenoise_FOUND}:OpenImageDenoise> # links OpenImageDenoise only if it's found
)
I build the Engine on windows, i succeed to use OIDN with the code above.
BTW, when built on windows using MSVC some specical chars will causes compile erroe, should replace them with Unicode
The text was updated successfully, but these errors were encountered:
For the windows build there is a solution file: WickedEngine.sln and with that the solution will build successfully, there are no problematic special characters as all are unicode. Open Image Denoise is linked by using #pragma comment(lib,"OpenImageDenoise.lib") in the code.
But if you really want to build with Cmake and want to submit pull request for fix, you can do that.
find_package(OpenImageDenoise "${MIN_OpenImageDenoise_VERSION}" QUIET)
target_link_libraries(${TARGET_NAME} PUBLIC
$<$BOOL:${OpenImageDenoise_FOUND}:OpenImageDenoise> # links OpenImageDenoise only if it's found
)
I build the Engine on windows, i succeed to use OIDN with the code above.
BTW, when built on windows using MSVC some specical chars will causes compile erroe, should replace them with Unicode
The text was updated successfully, but these errors were encountered: