aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLuv.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/cmake/BuildLuv.cmake')
-rw-r--r--third-party/cmake/BuildLuv.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/third-party/cmake/BuildLuv.cmake b/third-party/cmake/BuildLuv.cmake
index e515823d57..9f8e4bbc4f 100644
--- a/third-party/cmake/BuildLuv.cmake
+++ b/third-party/cmake/BuildLuv.cmake
@@ -42,7 +42,9 @@ function(BuildLuv)
-DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/luv
-DURL=${LUV_URL}
-DEXPECTED_SHA256=${LUV_SHA256}
- -DTARGET=luv
+ -DTARGET=luv-static
+ # The source is shared with BuildLuarocks (with USE_BUNDLED_LUV).
+ -DSRC_DIR=${DEPS_BUILD_DIR}/src/luv
-DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
PATCH_COMMAND "${_luv_PATCH_COMMAND}"