diff options
| -rw-r--r-- | CMakeLists.txt | 8 | ||||
| -rw-r--r-- | library/Core.cpp | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a5bf2d12..7ba939ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/library/Core.cpp b/library/Core.cpp index 4b58cf49..295e89fb 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -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; |
