aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuarocks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.deps/cmake/BuildLuarocks.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuarocks.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake.deps/cmake/BuildLuarocks.cmake b/cmake.deps/cmake/BuildLuarocks.cmake
index ad0ee3f661..1f1bb94741 100644
--- a/cmake.deps/cmake/BuildLuarocks.cmake
+++ b/cmake.deps/cmake/BuildLuarocks.cmake
@@ -81,9 +81,6 @@ else()
message(FATAL_ERROR "Trying to build luarocks in an unsupported system ${CMAKE_SYSTEM_NAME}/${CMAKE_C_COMPILER_ID}")
endif()
-if(USE_EXISTING_SRC_DIR)
- unset(LUAROCKS_URL)
-endif()
ExternalProject_Add(luarocks
URL ${LUAROCKS_URL}
URL_HASH SHA256=${LUAROCKS_SHA256}