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

github.com/torch/optim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-09-27 04:56:56 +0300
committerGitHub <noreply@github.com>2016-09-27 04:56:56 +0300
commit219df734b0b0a2fff6db3c68a95c65ff208dded8 (patch)
treebe59b8c101c02105f5c7d20e36dd7a04e068f96c
parentbd5b7bd742eff867a3d2bc7c34bccc660d8b58a7 (diff)
parentd430b212bdb1d34fb75923dc4a82a8f9029c2e10 (diff)
Merge pull request #135 from Atcold/local-doc
Enable local doc for inline help
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26ec4de..a5e686a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,3 +12,6 @@ SET(src)
FILE(GLOB luasrc *.lua)
ADD_TORCH_PACKAGE(optim "${src}" "${luasrc}")
#ADD_TORCH_DOK(dok optim "Machine Learning" "Optimization" 3.2)
+
+INSTALL(DIRECTORY "doc" DESTINATION "${Torch_INSTALL_LUA_PATH_SUBDIR}/optim")
+INSTALL(FILES "README.md" DESTINATION "${Torch_INSTALL_LUA_PATH_SUBDIR}/optim")