RenderKit / oidn

Intel® Open Image Denoise library
https://www.openimagedenoise.org/
Apache License 2.0
1.77k stars 164 forks source link

Static Build on OSX fail to install mkldnn #73

Closed melMass closed 4 years ago

melMass commented 4 years ago

Hi,

I can build the shared version without issue, but trying to build the static version using:

cmake .. -DOIDN_STATIC_LIB=ON

Results in the following error at configure time:

CMake Error at cmake/oidn_install.cmake:21 (install):
  install TARGETS given target "mkldnn" which does not exist.
atafra commented 4 years ago

Thanks for reporting this issue, static build is indeed broken. The fix has been pushed to devel and we'll soon (in about a week) release v1.2.1 which will include this fix.