changeset 2476:6c2c59c824a9 lua_dll

enable lua dynamic library loading
author amazy
date Mon, 19 Feb 2018 18:58:39 +0100
parents 8cc3ca64a534
children 1c1716adaf26
files Resources/CMake/LuaConfiguration.cmake
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/LuaConfiguration.cmake	Mon Feb 19 16:55:05 2018 +0100
+++ b/Resources/CMake/LuaConfiguration.cmake	Mon Feb 19 18:58:39 2018 +0100
@@ -9,6 +9,8 @@
     #-DLUA_LIB=1
     #-Dluaall_c=1
     #-DLUA_COMPAT_ALL=1  # Compile a generic version of Lua
+    -DLUA_DL_DLL=1       # enable dynamic libraries loading (for windows) 
+    -DLUA_USE_DLOPEN= 1  # enable dynamic libraries loading (for linux) 
     )
 
   include_directories(