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:
authorRui Guo <guorui.xt@gmail.com>2016-10-28 05:24:41 +0300
committerRui Guo <guorui.xt@gmail.com>2016-10-28 05:24:41 +0300
commit7585a7cb46914c16be5175858106aabf4a5df0f2 (patch)
tree0ac02d39471476b438f43cc3004c670880b2522f
parente9fb022accf22feefd2b0b26a1aa72678560aed4 (diff)
fix rockspec for windows
-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"
}