comparison Resources/CMake/LuaConfiguration.cmake @ 2476:6c2c59c824a9 lua_dll

enable lua dynamic library loading
author amazy
date Mon, 19 Feb 2018 18:58:39 +0100
parents 74d0953a3681
children 1c1716adaf26
comparison
equal deleted inserted replaced
2475:8cc3ca64a534 2476:6c2c59c824a9
7 7
8 add_definitions( 8 add_definitions(
9 #-DLUA_LIB=1 9 #-DLUA_LIB=1
10 #-Dluaall_c=1 10 #-Dluaall_c=1
11 #-DLUA_COMPAT_ALL=1 # Compile a generic version of Lua 11 #-DLUA_COMPAT_ALL=1 # Compile a generic version of Lua
12 -DLUA_DL_DLL=1 # enable dynamic libraries loading (for windows)
13 -DLUA_USE_DLOPEN= 1 # enable dynamic libraries loading (for linux)
12 ) 14 )
13 15
14 include_directories( 16 include_directories(
15 ${LUA_SOURCES_DIR}/src 17 ${LUA_SOURCES_DIR}/src
16 ) 18 )