aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildUtf8proc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/cmake/BuildUtf8proc.cmake')
-rw-r--r--third-party/cmake/BuildUtf8proc.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/third-party/cmake/BuildUtf8proc.cmake b/third-party/cmake/BuildUtf8proc.cmake
new file mode 100644
index 0000000000..df287ea459
--- /dev/null
+++ b/third-party/cmake/BuildUtf8proc.cmake
@@ -0,0 +1,16 @@
+ExternalProject_Add(utf8proc
+PREFIX ${DEPS_BUILD_DIR}
+URL ${UTF8PROC_URL}
+DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/utf8proc
+DOWNLOAD_COMMAND ${CMAKE_COMMAND}
+ -DPREFIX=${DEPS_BUILD_DIR}
+ -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/utf8proc
+ -DURL=${UTF8PROC_URL}
+ -DEXPECTED_SHA256=${UTF8PROC_SHA256}
+ -DTARGET=utf8proc
+ -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
+CONFIGURE_COMMAND true
+BUILD_COMMAND true
+INSTALL_COMMAND true
+)