diff options
| author | Petr Mrázek | 2012-03-12 15:05:44 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-12 15:05:44 +0100 |
| commit | b3f6bccdf6ba559cfbff462029ea350f5d367171 (patch) | |
| tree | 27c75ca55305986186e46e7fb1ed7c4c9119a287 /CMakeLists.txt | |
| parent | ea8a2ad9a26c4d582a03bbb77fdc0f075320756a (diff) | |
| parent | d09d0e599b1833f7b351e0baf35ab6f2ef74e791 (diff) | |
| download | dfhack-b3f6bccdf6ba559cfbff462029ea350f5d367171.tar.gz dfhack-b3f6bccdf6ba559cfbff462029ea350f5d367171.tar.bz2 dfhack-b3f6bccdf6ba559cfbff462029ea350f5d367171.tar.xz | |
Merge branch 'cleanups' of https://github.com/plaes/dfhack
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 de404432..7898a573 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,9 +94,11 @@ INCLUDE_DIRECTORIES ( library/depends/protobuf/ ) # use shared libraries for protobuf ADD_DEFINITIONS(-DPROTOBUF_USE_DLLS) -# 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) |
