summaryrefslogtreecommitdiff
path: root/cmake/FindUtfcpp.cmake
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:24:01 -0800
committerGitHub <noreply@github.com>2019-01-14 17:24:01 -0800
commitae37b380a7538b680b97010594f3b0ea6675caa8 (patch)
tree16cbd818223971af790021ebdbae3197aed57653 /cmake/FindUtfcpp.cmake
parentd4ede603c9442bca4675d8cde2759636d3d87008 (diff)
parentf455d65992cc7189a2a6f60386901af9ef6eec68 (diff)
downloadfork-ledger-ae37b380a7538b680b97010594f3b0ea6675caa8.tar.gz
fork-ledger-ae37b380a7538b680b97010594f3b0ea6675caa8.tar.bz2
fork-ledger-ae37b380a7538b680b97010594f3b0ea6675caa8.zip
Merge pull request #1719 from scfc/prefer-system-utf8-h
Prefer system utf8cpp if available
Diffstat (limited to 'cmake/FindUtfcpp.cmake')
-rw-r--r--cmake/FindUtfcpp.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/FindUtfcpp.cmake b/cmake/FindUtfcpp.cmake
index 185a8d88..93828ef4 100644
--- a/cmake/FindUtfcpp.cmake
+++ b/cmake/FindUtfcpp.cmake
@@ -10,7 +10,8 @@ set(UTFCPP_FOUND FALSE)
find_path(UTFCPP_INCLUDE_DIR
NAMES utf8.h
- HINTS "${UTFCPP_PATH}" "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source"
+ HINTS "${UTFCPP_PATH}"
+ PATHS "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source"
)
if (UTFCPP_INCLUDE_DIR)