From a69c83a32bec3dc61140b0bdf2a14e648c3dc71b Mon Sep 17 00:00:00 2001 From: Armand Leclercq Date: Fri, 10 Nov 2017 20:26:01 +0000 Subject: [PATCH] Add include directory in HinnantDate search path to match Hinnant repository master branch --- cmake/Modules/FindHinnantDate.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/FindHinnantDate.cmake b/cmake/Modules/FindHinnantDate.cmake index d582f949..da578aa5 100644 --- a/cmake/Modules/FindHinnantDate.cmake +++ b/cmake/Modules/FindHinnantDate.cmake @@ -54,7 +54,9 @@ Maybe you need to adjust the search paths or HinnantDate_ROOT_DIR.") find_file(HinnantDate_INCLUDE_FILE date.h date/date.h - HINTS ${HinnantDate_ROOT_DIR} + HINTS + ${HinnantDate_ROOT_DIR} + ${HinnantDate_ROOT_DIR}/include ) mark_as_advanced(HinnantDate_INCLUDE_FILE)