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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@fb.com>2016-03-01 02:28:19 +0300
committersoumith <soumith@fb.com>2016-03-01 02:28:19 +0300
commita2292b341314242137d92e91f39c173824252ec8 (patch)
tree0b4289b996e9c1406b107f39a4d292330150aa6a /CMakeLists.txt
parent3bcf29546aaffa6ba702b0edbec8b6e85beaa0a5 (diff)
removing useless init.c
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69e18e8..a706d61 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,13 +49,9 @@ LINK_DIRECTORIES("${Torch_INSTALL_LIB}")
ADD_SUBDIRECTORY(lib)
-SET(src init.c)
-
FILE(GLOB luasrc *.lua)
-ADD_TORCH_PACKAGE(nn "${src}" "${luasrc}")
-
-TARGET_LINK_LIBRARIES(nn luaT TH)
+ADD_TORCH_PACKAGE(nn "" "${luasrc}")
INSTALL(DIRECTORY "doc" DESTINATION "${Torch_INSTALL_LUA_PATH_SUBDIR}/nn")
INSTALL(FILES "README.md" DESTINATION "${Torch_INSTALL_LUA_PATH_SUBDIR}/nn")