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:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 029fd0f..e4a6db3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,3 +9,6 @@ SET(luasrc init.lua)
ADD_TORCH_PACKAGE(sys "${src}" "${luasrc}")
TARGET_LINK_LIBRARIES(sys luaT TH)
+IF(LUALIB)
+ TARGET_LINK_LIBRARIES(sys ${LUALIB})
+ENDIF()