From d1fc55532c02bfe4a842a057b8038afc29d954b8 Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Wed, 20 Jul 2011 17:25:07 -0700 Subject: [PATCH] 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. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b9b2a6b..8e1560b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,6 @@ include(FindLua51) if(NOT ${LUA51_FOUND}) message(FATAL_ERROR "The FindLua51 module could not find lua :-(") endif() -set(COMMON_LIBS "${COMMON_LIBS};${LUA_LIBRARIES}") ## LibZMQ if(WIN32)