diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-22 10:19:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-22 10:19:45 +0100 |
commit | a2e2cb74d07ee1e2cdd6649a8ec636db51108677 (patch) | |
tree | 3bfab7a44b3e175ba0c8cbce335d4fe82fc7ff3b /contrib | |
parent | 1a1ac87c68b3a42edd947a07917a9459e9a5edbc (diff) | |
download | rspamd-a2e2cb74d07ee1e2cdd6649a8ec636db51108677.tar.gz rspamd-a2e2cb74d07ee1e2cdd6649a8ec636db51108677.zip |
[Minor] Fix install path for torch libpaths
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/torch/paths/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/torch/paths/CMakeLists.txt b/contrib/torch/paths/CMakeLists.txt index c16abe13d..c578b66e9 100644 --- a/contrib/torch/paths/CMakeLists.txt +++ b/contrib/torch/paths/CMakeLists.txt @@ -35,7 +35,7 @@ IF(MSVC) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE=1) ENDIF(MSVC) -ADD_LIBRARY("paths" MODULE ${src}) +ADD_LIBRARY("paths" SHARED ${src}) SET_TARGET_PROPERTIES("paths" PROPERTIES PREFIX "lib" IMPORT_PREFIX "lib") @@ -47,8 +47,8 @@ ENDIF() INSTALL(FILES ${luasrc} DESTINATION ${LUALIBDIR}/paths) INSTALL(TARGETS paths - LIBRARY DESTINATION ${LUALIBDIR} - RUNTIME DESTINATION ${LUALIBDIR}) + LIBRARY DESTINATION ${RSPAMD_LIBDIR} + RUNTIME DESTINATION ${RSPAMD_LIBDIR}) IF(LUALIB) TARGET_LINK_LIBRARIES(paths ${LUALIB}) |