From b480eb069bb2c4147935159ee5710a5ed78485dd Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Tue, 8 Sep 2015 12:09:44 +0200 Subject: CMake: Don't use existing third-party sources by default. Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default. The Homebrew formula, which downloads and extracts the third-party dependency sources before starting the build, would turn this option ON. --- third-party/cmake/BuildLuajit.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'third-party/cmake/BuildLuajit.cmake') diff --git a/third-party/cmake/BuildLuajit.cmake b/third-party/cmake/BuildLuajit.cmake index 33753fd350..3598b00c04 100644 --- a/third-party/cmake/BuildLuajit.cmake +++ b/third-party/cmake/BuildLuajit.cmake @@ -27,6 +27,7 @@ function(BuildLuajit) -DURL=${LUAJIT_URL} -DEXPECTED_SHA256=${LUAJIT_SHA256} -DTARGET=${_luajit_TARGET} + -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake CONFIGURE_COMMAND "${_luajit_CONFIGURE_COMMAND}" BUILD_IN_SOURCE 1 -- cgit