Don't directly link to Lua libraries

The convention for Lua modules is to *not* link to the Lua libraries, so
that the same compiled module can be used in both Lua and LuaJIT.
pull/15/merge
Douglas Creager 15 years ago committed by Robert G. Jakabosky
parent 1d6943db15
commit d1fc55532c

@ -27,7 +27,6 @@ include(FindLua51)
if(NOT ${LUA51_FOUND}) if(NOT ${LUA51_FOUND})
message(FATAL_ERROR "The FindLua51 module could not find lua :-(") message(FATAL_ERROR "The FindLua51 module could not find lua :-(")
endif() endif()
set(COMMON_LIBS "${COMMON_LIBS};${LUA_LIBRARIES}")
## LibZMQ ## LibZMQ
if(WIN32) if(WIN32)

Loading…
Cancel
Save