From 1704d0fd6bae38066d6b15e6468dadc058d1f703 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 10 Jan 2014 10:03:39 +0100 Subject: Using dlopen() on all platforms except WIN32. --- lib/lua/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/lua/CMakeLists.txt') diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt index ff5dc927c..af03f4b1a 100644 --- a/lib/lua/CMakeLists.txt +++ b/lib/lua/CMakeLists.txt @@ -27,11 +27,7 @@ endif() # Tell Lua what dynamic loader to use (for LuaRocks): if (UNIX) - if (APPLE) - add_definitions(-DLUA_USE_MACOSX) - else() - add_definitions(-DLUA_USE_LINUX) - endif () + add_definitions(-DLUA_USE_DLOPEN) endif() if (UNIX) -- cgit v1.2.3