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

github.com/torch/nngraph.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nngraph-scm-1.rockspec')
-rw-r--r--nngraph-scm-1.rockspec5
1 files changed, 1 insertions, 4 deletions
diff --git a/nngraph-scm-1.rockspec b/nngraph-scm-1.rockspec
index 4963ecd..9cc28c7 100644
--- a/nngraph-scm-1.rockspec
+++ b/nngraph-scm-1.rockspec
@@ -21,10 +21,7 @@ dependencies = {
build = {
type = "command",
build_command = [[
-cmake -E make_directory build;
-cd build;
-cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)";
-$(MAKE)
+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"
}