Skip to content

Instantly share code, notes, and snippets.

@luizribeiro
Created May 4, 2015 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizribeiro/9f4f01a0b539b039e0a7 to your computer and use it in GitHub Desktop.
Save luizribeiro/9f4f01a0b539b039e0a7 to your computer and use it in GitHub Desktop.
diff --git a/third-party/cmake/BuildLuarocks.cmake b/third-party/cmake/BuildLuarocks.cmake
index 2f83cb8..34667d4 100644
--- a/third-party/cmake/BuildLuarocks.cmake
+++ b/third-party/cmake/BuildLuarocks.cmake
@@ -19,7 +19,7 @@ ExternalProject_Add(luarocks
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/src/luarocks/configure
- --prefix=${DEPS_INSTALL_DIR} --force-config ${LUAROCKS_OPTS}
+ --prefix=${DEPS_INSTALL_DIR} ${LUAROCKS_OPTS}
--lua-suffix=jit
BUILD_COMMAND ""
INSTALL_COMMAND ${MAKE_PRG} bootstrap)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment