Don't compile Lua on UNIX

develop
Priit Laes 2012-02-23 13:49:07 +02:00
parent 6696e79838
commit 1299b0d4c6
2 changed files with 5 additions and 4 deletions

@ -79,9 +79,11 @@ ENDIF()
#add depends to include path
INCLUDE_DIRECTORIES ( library/depends )
# build the static lua for dfusion
INCLUDE_DIRECTORIES ( lua/include )
add_subdirectory (lua)
IF(!UNIX)
# build the static lua for dfusion, win32 only
INCLUDE_DIRECTORIES ( lua/include )
add_subdirectory (lua)
ENDIF()
# build the lib itself
IF(BUILD_LIBRARY)

@ -62,7 +62,6 @@ using namespace DFHack;
#include <stdlib.h>
#include <fstream>
#include "tinythread.h"
#include <llex.h>
using namespace tthread;
using namespace df::enums;