Skip to content

Commit

Permalink
cmake: fix building with recent Oidn
Browse files Browse the repository at this point in the history
Oidn commit a0a5cbe9c644b4bda8fae88211b065f72a68eef6 renamed version.h
to config.h.
  • Loading branch information
illwieckz committed Apr 9, 2023
1 parent ef55355 commit c72b72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Packages/FindOidn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
## limitations under the License. ##
## ======================================================================== ##

FIND_PATH(OIDN_INCLUDE_PATH NAMES OpenImageDenoise/version.h PATHS
FIND_PATH(OIDN_INCLUDE_PATH NAMES OpenImageDenoise/config.h PATHS
${OIDN_ROOT}/include)
IF (NOT OIDN_INCLUDE_PATH)
FIND_PATH(OIDN_INCLUDE_PATH NAMES OpenImageDenoise/version.h PATHS
FIND_PATH(OIDN_INCLUDE_PATH NAMES OpenImageDenoise/config.h PATHS
/usr/include
/usr/local/include
/opt/local/include)
Expand Down

0 comments on commit c72b72b

Please sign in to comment.