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 #add depends to include path
INCLUDE_DIRECTORIES ( library/depends ) INCLUDE_DIRECTORIES ( library/depends )
# build the static lua for dfusion IF(!UNIX)
INCLUDE_DIRECTORIES ( lua/include ) # build the static lua for dfusion, win32 only
add_subdirectory (lua) INCLUDE_DIRECTORIES ( lua/include )
add_subdirectory (lua)
ENDIF()
# build the lib itself # build the lib itself
IF(BUILD_LIBRARY) IF(BUILD_LIBRARY)

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