diff --git a/sys-1.1-0.rockspec b/sys-1.1-0.rockspec index 417fb3d..5b89348 100644 --- a/sys-1.1-0.rockspec +++ b/sys-1.1-0.rockspec @@ -21,6 +21,6 @@ dependencies = { build = { type = "command", - build_command = [[cmake -E make_directory build && cd build && cmake .. -DLUALIB=$(LUALIB) -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)]], + build_command = [[cmake -E make_directory build && cd build && cmake .. -DLUALIB=$(LUALIB) -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)]], install_command = "cd build && $(MAKE) install" }