Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/sys.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-1.0-0.rockspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-1.0-0.rockspec b/sys-1.0-0.rockspec
index 6054ae1..bc34425 100644
--- a/sys-1.0-0.rockspec
+++ b/sys-1.0-0.rockspec
@@ -21,6 +21,6 @@ dependencies = {
build = {
type = "command",
- build_command = [[mkdir && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)]],
+ build_command = [[cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)]],
install_command = "cd build && $(MAKE) install"
}