diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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() |