CMake: Fix detection of idiff program
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 15:00:06 +0000 (17:00 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 15:00:06 +0000 (17:00 +0200)
build_files/cmake/Modules/FindOpenImageIO.cmake

index 789097dfd516d363417fcd194ece95f7c2592b97..d59f9cfcdfc932347939d582d4807fecf5650972 100644 (file)
@@ -60,7 +60,7 @@ FIND_FILE(OPENIMAGEIO_IDIFF
   NAMES
     idiff
   HINTS
-    ${OPENIMAGEIO_ROOT_DIR}
+    ${_openimageio_SEARCH_DIRS}
   PATH_SUFFIXES
     bin
 )