diff options
author | samehkhamis <sameh.khamis@gmail.com> | 2015-07-24 03:33:05 +0300 |
---|---|---|
committer | samehkhamis <sameh.khamis@gmail.com> | 2015-07-24 03:33:05 +0300 |
commit | 44ae79aa2bb97bb2f37b14d2fc67cd8a33d96748 (patch) | |
tree | d8b1518c8842ecec04a99171c037d0cc807d1307 /CMakeLists.txt | |
parent | 8fb2f5deae1d805e375bb2ba514e6b5452aca3ad (diff) |
Work under windows
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 6dcbe1d..66fea3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,3 +20,6 @@ SET(luasrc ${luasrc} test/test-all.lua) SET(luasrc ${luasrc} test/test-omp.lua) ADD_TORCH_PACKAGE(nnx "${src}" "${luasrc}" "Image Processing") TARGET_LINK_LIBRARIES(nnx luaT TH) +IF(LUALIB) + TARGET_LINK_LIBRARIES(nnx ${LUALIB}) +ENDIF() |