diff options
| author | Priit Laes | 2012-02-23 13:49:07 +0200 |
|---|---|---|
| committer | Priit Laes | 2012-02-23 13:49:07 +0200 |
| commit | 1299b0d4c635181cf82d65f83e06c4f8fca41568 (patch) | |
| tree | 406936241c98c17d0b8f1b3c2bea615ddcc58d19 /CMakeLists.txt | |
| parent | 6696e7983825c07d530b7f7a53028140a4ef1a1e (diff) | |
| download | dfhack-1299b0d4c635181cf82d65f83e06c4f8fca41568.tar.gz dfhack-1299b0d4c635181cf82d65f83e06c4f8fca41568.tar.bz2 dfhack-1299b0d4c635181cf82d65f83e06c4f8fca41568.tar.xz | |
Don't compile Lua on UNIX
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 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) |
