aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindExiv2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindExiv2.cmake b/modules/FindExiv2.cmake
index 9306f5b8..bf8220cc 100644
--- a/modules/FindExiv2.cmake
+++ b/modules/FindExiv2.cmake
@@ -57,7 +57,7 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
if(EXIV2_VERSION_GOOD_FOUND)
set(EXIV2_DEFINITIONS ${_EXIV2Cflags})
- find_path(EXIV2_INCLUDE_DIR exiv2/exif.hpp
+ find_path(EXIV2_INCLUDE_DIR NAMES exiv2/exif.hpp
HINTS
${_EXIV2IncDir}
)